home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: tex.vim
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
100%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX 2e document text
| default
| |
98%
| file
| TeX document text
| default
| |
97%
| file
| LaTeX document, ASCII text, with very long lines (353)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/280 LaTeX (Master document)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 22 20 56 69 6d 20 73 79 | 6e 74 61 78 20 66 69 6c |" Vim sy|ntax fil|
|00000010| 65 0a 22 20 4c 61 6e 67 | 75 61 67 65 20 20 20 3a |e." Lang|uage :|
|00000020| 20 54 65 58 0a 22 20 4d | 61 69 6e 74 61 69 6e 65 | TeX." M|aintaine|
|00000030| 72 20 3a 20 44 72 2e 20 | 43 68 61 72 6c 65 73 20 |r : Dr. |Charles |
|00000040| 45 2e 20 43 61 6d 70 62 | 65 6c 6c 2c 20 4a 72 2e |E. Campb|ell, Jr.|
|00000050| 20 3c 43 68 61 72 6c 65 | 73 2e 43 61 6d 70 62 65 | <Charle|s.Campbe|
|00000060| 6c 6c 40 67 73 66 63 2e | 6e 61 73 61 2e 67 6f 76 |ll@gsfc.|nasa.gov|
|00000070| 3e 0a 22 20 4c 61 73 74 | 20 63 68 61 6e 67 65 3a |>." Last| change:|
|00000080| 20 41 75 67 75 73 74 20 | 32 31 2c 20 31 39 39 38 | August |21, 1998|
|00000090| 0a 22 0a 22 20 4e 6f 74 | 65 73 3a 0a 22 20 31 2e |."." Not|es:." 1.|
|000000a0| 20 49 66 20 79 6f 75 20 | 68 61 76 65 20 61 20 5c | If you |have a \|
|000000b0| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 20 |begin{ve|rbatim} |
|000000c0| 74 68 61 74 20 61 70 70 | 65 61 72 73 20 74 6f 20 |that app|ears to |
|000000d0| 6f 76 65 72 72 75 6e 20 | 69 74 73 20 62 6f 75 6e |overrun |its boun|
|000000e0| 64 61 72 69 65 73 2c 0a | 22 20 20 20 20 75 73 65 |daries,.|" use|
|000000f0| 20 25 73 74 6f 70 7a 6f | 6e 65 2e 0a 22 20 32 2e | %stopzo|ne.." 2.|
|00000100| 20 52 75 6e 2d 6f 6e 20 | 65 71 75 61 74 69 6f 6e | Run-on |equation|
|00000110| 73 20 28 24 2e 2e 24 20 | 61 6e 64 20 24 24 2e 2e |s ($..$ |and $$..|
|00000120| 24 24 2c 20 70 61 72 74 | 69 63 75 6c 61 72 6c 79 |$$, part|icularly|
|00000130| 29 20 63 61 6e 20 61 6c | 73 6f 20 62 65 20 73 74 |) can al|so be st|
|00000140| 6f 70 70 65 64 0a 22 20 | 20 20 20 62 79 20 73 75 |opped." | by su|
|00000150| 69 74 61 62 6c 65 20 75 | 73 65 20 6f 66 20 25 73 |itable u|se of %s|
|00000160| 74 6f 70 7a 6f 6e 65 2e | 0a 22 20 33 2e 20 49 66 |topzone.|." 3. If|
|00000170| 20 79 6f 75 20 68 61 76 | 65 20 61 20 73 6c 6f 77 | you hav|e a slow|
|00000180| 20 63 6f 6d 70 75 74 65 | 72 2c 20 79 6f 75 20 6d | compute|r, you m|
|00000190| 61 79 20 77 69 73 68 20 | 74 6f 20 6d 6f 64 69 66 |ay wish |to modif|
|000001a0| 79 0a 22 0a 22 20 20 20 | 20 73 79 6e 20 73 79 6e |y."." | syn syn|
|000001b0| 63 20 6d 61 78 6c 69 6e | 65 73 3d 32 30 30 0a 22 |c maxlin|es=200."|
|000001c0| 20 20 20 20 73 79 6e 20 | 73 79 6e 63 20 6d 69 6e | syn |sync min|
|000001d0| 6c 69 6e 65 73 3d 35 30 | 0a 22 0a 22 20 20 20 20 |lines=50|."." |
|000001e0| 74 6f 20 76 61 6c 75 65 | 73 20 74 68 61 74 20 61 |to value|s that a|
|000001f0| 72 65 20 6d 6f 72 65 20 | 74 6f 20 79 6f 75 72 20 |re more |to your |
|00000200| 6c 69 6b 69 6e 67 2e 0a | 22 20 34 2e 20 54 68 65 |liking..|" 4. The|
|00000210| 72 65 20 69 73 20 6e 6f | 20 6d 61 74 63 68 2d 73 |re is no| match-s|
|00000220| 79 6e 63 69 6e 67 20 66 | 6f 72 20 24 2e 2e 2e 24 |yncing f|or $...$|
|00000230| 20 61 6e 64 20 24 24 2e | 2e 2e 24 24 3b 20 68 65 | and $$.|..$$; he|
|00000240| 6e 63 65 20 6c 61 72 67 | 65 0a 22 20 20 20 20 65 |nce larg|e." e|
|00000250| 71 75 61 74 69 6f 6e 20 | 62 6c 6f 63 6b 73 20 63 |quation |blocks c|
|00000260| 6f 6e 73 74 72 75 63 74 | 65 64 20 74 68 61 74 20 |onstruct|ed that |
|00000270| 77 61 79 20 6d 61 79 20 | 65 78 68 69 62 69 74 20 |way may |exhibit |
|00000280| 73 79 6e 63 69 6e 67 20 | 70 72 6f 62 6c 65 6d 73 |syncing |problems|
|00000290| 2e 0a 22 20 20 20 20 28 | 74 68 65 72 65 27 73 20 |.." (|there's |
|000002a0| 6e 6f 20 64 69 66 66 65 | 72 65 6e 63 65 20 62 65 |no diffe|rence be|
|000002b0| 74 77 65 65 6e 20 62 65 | 67 69 6e 2f 65 6e 64 20 |tween be|gin/end |
|000002c0| 70 61 74 74 65 72 6e 73 | 29 0a 0a 22 20 52 65 6d |patterns|).." Rem|
|000002d0| 6f 76 65 73 20 61 6e 79 | 20 6f 6c 64 20 73 79 6e |oves any| old syn|
|000002e0| 74 61 78 20 73 74 75 66 | 66 20 68 61 6e 67 69 6e |tax stuf|f hangin|
|000002f0| 67 20 61 72 6f 75 6e 64 | 0a 73 79 6e 20 63 6c 65 |g around|.syn cle|
|00000300| 61 72 0a 0a 22 20 54 72 | 79 20 74 6f 20 66 6c 61 |ar.." Tr|y to fla|
|00000310| 67 20 7b 7d 2c 20 5b 5d | 2c 20 61 6e 64 20 28 29 |g {}, []|, and ()|
|00000320| 20 6d 69 73 6d 61 74 63 | 68 65 73 0a 73 79 6e 20 | mismatc|hes.syn |
|00000330| 63 6c 75 73 74 65 72 20 | 74 65 78 4d 61 74 63 68 |cluster |texMatch|
|00000340| 47 72 6f 75 70 09 63 6f | 6e 74 61 69 6e 73 3d 74 |Group.co|ntains=t|
|00000350| 65 78 43 6d 64 41 72 67 | 73 2c 74 65 78 43 6d 64 |exCmdArg|s,texCmd|
|00000360| 42 6f 64 79 2c 74 65 78 | 43 6d 64 4e 61 6d 65 2c |Body,tex|CmdName,|
|00000370| 74 65 78 44 65 66 4e 61 | 6d 65 2c 74 65 78 45 72 |texDefNa|me,texEr|
|00000380| 72 6f 72 2c 74 65 78 4d | 61 74 68 44 65 6c 69 6d |ror,texM|athDelim|
|00000390| 42 61 64 2c 74 65 78 4d | 61 74 68 44 65 6c 69 6d |Bad,texM|athDelim|
|000003a0| 42 73 2c 74 65 78 4d 61 | 74 68 44 65 6c 69 6d 43 |Bs,texMa|thDelimC|
|000003b0| 68 72 2c 74 65 78 4d 61 | 74 68 44 65 6c 69 6d 4b |hr,texMa|thDelimK|
|000003c0| 65 79 2c 74 65 78 4d 61 | 74 68 4d 61 74 63 68 65 |ey,texMa|thMatche|
|000003d0| 72 2c 74 65 78 4d 61 74 | 68 4f 70 65 72 2c 74 65 |r,texMat|hOper,te|
|000003e0| 78 4d 61 74 68 50 61 72 | 65 6e 2c 74 65 78 53 65 |xMathPar|en,texSe|
|000003f0| 63 74 69 6f 6e 4d 61 72 | 6b 65 72 2c 74 65 78 44 |ctionMar|ker,texD|
|00000400| 6f 63 75 6d 65 6e 74 54 | 79 70 65 41 72 67 73 0a |ocumentT|ypeArgs.|
|00000410| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 4d 61 |syn regi|on texMa|
|00000420| 74 63 68 65 72 09 6d 61 | 74 63 68 67 72 6f 75 70 |tcher.ma|tchgroup|
|00000430| 3d 44 65 6c 69 6d 69 74 | 65 72 20 73 74 61 72 74 |=Delimit|er start|
|00000440| 3d 22 7b 22 20 73 6b 69 | 70 3d 22 5c 28 5c 5c 5c |="{" ski|p="\(\\\|
|00000450| 5c 5c 29 2a 5c 5c 5b 7b | 7d 5d 22 20 65 6e 64 3d |\\)*\\[{|}]" end=|
|00000460| 22 7d 22 09 63 6f 6e 74 | 61 69 6e 73 3d 41 4c 4c |"}".cont|ains=ALL|
|00000470| 42 55 54 2c 40 74 65 78 | 4d 61 74 63 68 47 72 6f |BUT,@tex|MatchGro|
|00000480| 75 70 0a 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 |up.syn r|egion te|
|00000490| 78 4d 61 74 63 68 65 72 | 09 6d 61 74 63 68 67 72 |xMatcher|.matchgr|
|000004a0| 6f 75 70 3d 44 65 6c 69 | 6d 69 74 65 72 20 73 74 |oup=Deli|miter st|
|000004b0| 61 72 74 3d 22 5c 5b 22 | 09 65 6e 64 3d 22 5d 22 |art="\["|.end="]"|
|000004c0| 09 09 63 6f 6e 74 61 69 | 6e 73 3d 41 4c 4c 42 55 |..contai|ns=ALLBU|
|000004d0| 54 2c 40 74 65 78 4d 61 | 74 63 68 47 72 6f 75 70 |T,@texMa|tchGroup|
|000004e0| 0a 73 79 6e 20 72 65 67 | 69 6f 6e 20 74 65 78 50 |.syn reg|ion texP|
|000004f0| 61 72 65 6e 09 73 74 61 | 72 74 3d 22 28 22 09 09 |aren.sta|rt="("..|
|00000500| 65 6e 64 3d 22 29 22 09 | 09 63 6f 6e 74 61 69 6e |end=")".|.contain|
|00000510| 73 3d 41 4c 4c 42 55 54 | 2c 40 74 65 78 4d 61 74 |s=ALLBUT|,@texMat|
|00000520| 63 68 47 72 6f 75 70 0a | 73 79 6e 20 6d 61 74 63 |chGroup.|syn matc|
|00000530| 68 20 20 74 65 78 45 72 | 72 6f 72 09 22 5b 7d 5c |h texEr|ror."[}\|
|00000540| 5d 29 5d 22 0a 0a 73 79 | 6e 20 63 6c 75 73 74 65 |])]"..sy|n cluste|
|00000550| 72 20 74 65 78 4d 61 74 | 68 4d 61 74 63 68 47 72 |r texMat|hMatchGr|
|00000560| 6f 75 70 09 63 6f 6e 74 | 61 69 6e 73 3d 74 65 78 |oup.cont|ains=tex|
|00000570| 41 63 63 65 6e 74 2c 74 | 65 78 42 61 64 4d 61 74 |Accent,t|exBadMat|
|00000580| 68 2c 74 65 78 43 6d 64 | 41 72 67 73 2c 74 65 78 |h,texCmd|Args,tex|
|00000590| 43 6d 64 42 6f 64 79 2c | 74 65 78 43 6d 64 4e 61 |CmdBody,|texCmdNa|
|000005a0| 6d 65 2c 74 65 78 44 65 | 66 4e 61 6d 65 2c 74 65 |me,texDe|fName,te|
|000005b0| 78 45 72 72 6f 72 2c 74 | 65 78 4d 61 74 63 68 65 |xError,t|exMatche|
|000005c0| 72 2c 74 65 78 4d 61 74 | 68 44 65 6c 69 6d 42 61 |r,texMat|hDelimBa|
|000005d0| 64 2c 74 65 78 4d 61 74 | 68 44 65 6c 69 6d 42 73 |d,texMat|hDelimBs|
|000005e0| 2c 74 65 78 4d 61 74 68 | 44 65 6c 69 6d 43 68 72 |,texMath|DelimChr|
|000005f0| 2c 74 65 78 4d 61 74 68 | 44 65 6c 69 6d 4b 65 79 |,texMath|DelimKey|
|00000600| 2c 74 65 78 4f 6e 6c 79 | 4d 61 74 68 2c 74 65 78 |,texOnly|Math,tex|
|00000610| 50 61 72 65 6e 2c 74 65 | 78 53 65 63 74 69 6f 6e |Paren,te|xSection|
|00000620| 4d 61 72 6b 65 72 2c 74 | 65 78 44 6f 63 75 6d 65 |Marker,t|exDocume|
|00000630| 6e 74 54 79 70 65 41 72 | 67 73 0a 73 79 6e 20 72 |ntTypeAr|gs.syn r|
|00000640| 65 67 69 6f 6e 20 74 65 | 78 4d 61 74 68 4d 61 74 |egion te|xMathMat|
|00000650| 63 68 65 72 09 6d 61 74 | 63 68 67 72 6f 75 70 3d |cher.mat|chgroup=|
|00000660| 44 65 6c 69 6d 69 74 65 | 72 20 73 74 61 72 74 3d |Delimite|r start=|
|00000670| 22 7b 22 20 20 73 6b 69 | 70 3d 22 5c 28 5c 5c 5c |"{" ski|p="\(\\\|
|00000680| 5c 5c 29 2a 5c 5c 7d 22 | 20 20 65 6e 64 3d 22 7d |\\)*\\}"| end="}|
|00000690| 22 09 63 6f 6e 74 61 69 | 6e 65 64 20 63 6f 6e 74 |".contai|ned cont|
|000006a0| 61 69 6e 73 3d 41 4c 4c | 42 55 54 2c 40 74 65 78 |ains=ALL|BUT,@tex|
|000006b0| 4d 61 74 68 4d 61 74 63 | 68 47 72 6f 75 70 0a 73 |MathMatc|hGroup.s|
|000006c0| 79 6e 20 72 65 67 69 6f | 6e 20 74 65 78 4d 61 74 |yn regio|n texMat|
|000006d0| 68 4d 61 74 63 68 65 72 | 09 6d 61 74 63 68 67 72 |hMatcher|.matchgr|
|000006e0| 6f 75 70 3d 44 65 6c 69 | 6d 69 74 65 72 20 73 74 |oup=Deli|miter st|
|000006f0| 61 72 74 3d 22 5c 5b 22 | 20 73 6b 69 70 3d 22 5c |art="\["| skip="\|
|00000700| 28 5c 5c 5c 5c 5c 29 2a | 5c 5c 5c 5d 22 20 65 6e |(\\\\\)*|\\\]" en|
|00000710| 64 3d 22 5d 22 09 63 6f | 6e 74 61 69 6e 65 64 20 |d="]".co|ntained |
|00000720| 63 6f 6e 74 61 69 6e 73 | 3d 41 4c 4c 42 55 54 2c |contains|=ALLBUT,|
|00000730| 40 74 65 78 4d 61 74 68 | 4d 61 74 63 68 47 72 6f |@texMath|MatchGro|
|00000740| 75 70 0a 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 |up.syn r|egion te|
|00000750| 78 4d 61 74 68 50 61 72 | 65 6e 09 73 74 61 72 74 |xMathPar|en.start|
|00000760| 3d 22 28 22 09 65 6e 64 | 3d 22 29 22 09 09 09 63 |="(".end|=")"...c|
|00000770| 6f 6e 74 61 69 6e 65 64 | 20 63 6f 6e 74 61 69 6e |ontained| contain|
|00000780| 73 3d 41 4c 4c 42 55 54 | 2c 40 74 65 78 4d 61 74 |s=ALLBUT|,@texMat|
|00000790| 68 4d 61 74 63 68 47 72 | 6f 75 70 0a 0a 22 20 54 |hMatchGr|oup.." T|
|000007a0| 65 58 2f 4c 61 54 65 58 | 20 6b 65 79 77 6f 72 64 |eX/LaTeX| keyword|
|000007b0| 73 0a 22 20 49 6e 73 74 | 65 61 64 20 6f 66 20 74 |s." Inst|ead of t|
|000007c0| 72 79 69 6e 67 20 74 6f | 20 62 65 20 41 6c 6c 20 |rying to| be All |
|000007d0| 4b 6e 6f 77 69 6e 67 2c | 20 49 20 6a 75 73 74 20 |Knowing,| I just |
|000007e0| 6d 61 74 63 68 20 5c 2e | 2e 61 6c 70 68 61 6d 65 |match \.|.alphame|
|000007f0| 72 69 63 2e 2e 0a 73 79 | 6e 20 6d 61 74 63 68 20 |ric...sy|n match |
|00000800| 74 65 78 53 74 61 74 65 | 6d 65 6e 74 09 22 5c 5c |texState|ment."\\|
|00000810| 5b 61 2d 7a 41 2d 5a 5d | 5c 2b 22 0a 6c 65 74 20 |[a-zA-Z]|\+".let |
|00000820| 62 3a 65 78 74 66 6e 61 | 6d 65 3d 65 78 70 61 6e |b:extfna|me=expan|
|00000830| 64 28 22 25 3a 65 22 29 | 0a 69 66 20 62 3a 65 78 |d("%:e")|.if b:ex|
|00000840| 74 66 6e 61 6d 65 20 3d | 3d 20 22 73 74 79 22 20 |tfname =|= "sty" |
|00000850| 7c 7c 20 62 3a 65 78 74 | 66 6e 61 6d 65 20 3d 3d ||| b:ext|fname ==|
|00000860| 20 22 63 6c 73 22 20 7c | 7c 20 62 3a 65 78 74 66 | "cls" ||| b:extf|
|00000870| 6e 61 6d 65 20 3d 3d 20 | 22 63 6c 6f 22 0a 20 20 |name == |"clo". |
|00000880| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 53 74 61 |syn matc|h texSta|
|00000890| 74 65 6d 65 6e 74 09 22 | 5c 5c 5b 61 2d 7a 41 2d |tement."|\\[a-zA-|
|000008a0| 5a 5d 2a 40 5b 61 2d 7a | 41 2d 5a 40 5d 2a 22 0a |Z]*@[a-z|A-Z@]*".|
|000008b0| 65 6c 73 65 0a 20 20 73 | 79 6e 20 6d 61 74 63 68 |else. s|yn match|
|000008c0| 20 74 65 78 45 72 72 6f | 72 09 22 5c 5c 5b 61 2d | texErro|r."\\[a-|
|000008d0| 7a 41 2d 5a 5d 2a 40 5b | 61 2d 7a 41 2d 5a 40 5d |zA-Z]*@[|a-zA-Z@]|
|000008e0| 2a 22 0a 65 6e 64 69 66 | 0a 75 6e 6c 65 74 20 62 |*".endif|.unlet b|
|000008f0| 3a 65 78 74 66 6e 61 6d | 65 0a 73 79 6e 20 6d 61 |:extfnam|e.syn ma|
|00000900| 74 63 68 20 74 65 78 44 | 65 6c 69 6d 69 74 65 72 |tch texD|elimiter|
|00000910| 09 22 26 22 0a 73 79 6e | 20 6d 61 74 63 68 20 74 |."&".syn| match t|
|00000920| 65 78 44 65 6c 69 6d 69 | 74 65 72 09 22 5c 5c 5c |exDelimi|ter."\\\|
|00000930| 5c 22 0a 0a 22 20 5c 62 | 65 67 69 6e 7b 7d 2f 5c |\".." \b|egin{}/\|
|00000940| 65 6e 64 7b 7d 20 73 65 | 63 74 69 6f 6e 20 6d 61 |end{} se|ction ma|
|00000950| 72 6b 65 72 73 0a 73 79 | 6e 20 6d 61 74 63 68 20 |rkers.sy|n match |
|00000960| 74 65 78 53 65 63 74 69 | 6f 6e 4d 61 72 6b 65 72 |texSecti|onMarker|
|00000970| 20 22 5c 5c 62 65 67 69 | 6e 5c 7c 5c 5c 65 6e 64 | "\\begi|n\|\\end|
|00000980| 22 20 6e 65 78 74 67 72 | 6f 75 70 3d 74 65 78 53 |" nextgr|oup=texS|
|00000990| 65 63 74 69 6f 6e 4e 61 | 6d 65 0a 73 79 6e 20 72 |ectionNa|me.syn r|
|000009a0| 65 67 69 6f 6e 20 74 65 | 78 53 65 63 74 69 6f 6e |egion te|xSection|
|000009b0| 4e 61 6d 65 20 6d 61 74 | 63 68 67 72 6f 75 70 3d |Name mat|chgroup=|
|000009c0| 44 65 6c 69 6d 69 74 65 | 72 20 73 74 61 72 74 3d |Delimite|r start=|
|000009d0| 22 7b 22 20 65 6e 64 3d | 22 7d 22 20 63 6f 6e 74 |"{" end=|"}" cont|
|000009e0| 61 69 6e 65 64 0a 0a 22 | 20 5c 64 6f 63 75 6d 65 |ained.."| \docume|
|000009f0| 6e 74 63 6c 61 73 73 2c | 20 5c 64 6f 63 75 6d 65 |ntclass,| \docume|
|00000a00| 6e 74 73 74 79 6c 65 2c | 20 5c 75 73 65 70 61 63 |ntstyle,| \usepac|
|00000a10| 6b 61 67 65 0a 73 79 6e | 20 6d 61 74 63 68 20 74 |kage.syn| match t|
|00000a20| 65 78 44 6f 63 75 6d 65 | 6e 74 54 79 70 65 20 22 |exDocume|ntType "|
|00000a30| 5c 5c 64 6f 63 75 6d 65 | 6e 74 63 6c 61 73 73 5c |\\docume|ntclass\|
|00000a40| 7c 5c 5c 64 6f 63 75 6d | 65 6e 74 73 74 79 6c 65 ||\\docum|entstyle|
|00000a50| 5c 7c 5c 5c 75 73 65 70 | 61 63 6b 61 67 65 22 20 |\|\\usep|ackage" |
|00000a60| 6e 65 78 74 67 72 6f 75 | 70 3d 74 65 78 53 65 63 |nextgrou|p=texSec|
|00000a70| 74 69 6f 6e 4e 61 6d 65 | 2c 74 65 78 44 6f 63 75 |tionName|,texDocu|
|00000a80| 6d 65 6e 74 54 79 70 65 | 41 72 67 73 0a 73 79 6e |mentType|Args.syn|
|00000a90| 20 72 65 67 69 6f 6e 20 | 74 65 78 44 6f 63 75 6d | region |texDocum|
|00000aa0| 65 6e 74 54 79 70 65 41 | 72 67 73 20 6d 61 74 63 |entTypeA|rgs matc|
|00000ab0| 68 67 72 6f 75 70 3d 44 | 65 6c 69 6d 69 74 65 72 |hgroup=D|elimiter|
|00000ac0| 20 73 74 61 72 74 3d 22 | 5c 5b 22 20 65 6e 64 3d | start="|\[" end=|
|00000ad0| 22 5d 22 20 63 6f 6e 74 | 61 69 6e 65 64 20 6e 65 |"]" cont|ained ne|
|00000ae0| 78 74 67 72 6f 75 70 3d | 74 65 78 53 65 63 74 69 |xtgroup=|texSecti|
|00000af0| 6f 6e 4e 61 6d 65 0a 0a | 22 20 54 65 58 20 69 6e |onName..|" TeX in|
|00000b00| 70 75 74 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |put.syn |match te|
|00000b10| 78 49 6e 70 75 74 09 22 | 5c 5c 69 6e 70 75 74 5c |xInput."|\\input\|
|00000b20| 73 5c 2b 5b 61 2d 7a 41 | 2d 5a 2f 2e 30 2d 39 5d |s\+[a-zA|-Z/.0-9]|
|00000b30| 5c 2b 22 68 73 3d 73 2b | 37 09 63 6f 6e 74 61 69 |\+"hs=s+|7.contai|
|00000b40| 6e 73 3d 74 65 78 53 74 | 61 74 65 6d 65 6e 74 0a |ns=texSt|atement.|
|00000b50| 0a 22 20 53 6f 6d 65 20 | 74 79 70 65 20 73 74 79 |." Some |type sty|
|00000b60| 6c 65 73 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |les.syn |match te|
|00000b70| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 72 6d |xTypeSty|le."\\rm|
|00000b80| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000b90| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 65 6d |xTypeSty|le."\\em|
|00000ba0| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000bb0| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 62 66 |xTypeSty|le."\\bf|
|00000bc0| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000bd0| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 69 74 |xTypeSty|le."\\it|
|00000be0| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000bf0| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 73 6c |xTypeSty|le."\\sl|
|00000c00| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000c10| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 73 66 |xTypeSty|le."\\sf|
|00000c20| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000c30| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 73 63 |xTypeSty|le."\\sc|
|00000c40| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000c50| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 74 74 |xTypeSty|le."\\tt|
|00000c60| 5c 3e 22 0a 0a 22 20 4c | 61 54 65 58 32 45 20 74 |\>".." L|aTeX2E t|
|00000c70| 79 70 65 20 73 74 79 6c | 65 73 0a 73 79 6e 20 6d |ype styl|es.syn m|
|00000c80| 61 74 63 68 20 74 65 78 | 54 79 70 65 53 74 79 6c |atch tex|TypeStyl|
|00000c90| 65 09 22 5c 5c 74 65 78 | 74 72 6d 5c 3e 22 0a 73 |e."\\tex|trm\>".s|
|00000ca0| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 54 79 70 65 |yn match| texType|
|00000cb0| 53 74 79 6c 65 09 22 5c | 5c 74 65 78 74 65 6d 5c |Style."\|\textem\|
|00000cc0| 3e 22 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |>".syn m|atch tex|
|00000cd0| 54 79 70 65 53 74 79 6c | 65 09 22 5c 5c 74 65 78 |TypeStyl|e."\\tex|
|00000ce0| 74 62 66 5c 3e 22 0a 73 | 79 6e 20 6d 61 74 63 68 |tbf\>".s|yn match|
|00000cf0| 20 74 65 78 54 79 70 65 | 53 74 79 6c 65 09 22 5c | texType|Style."\|
|00000d00| 5c 74 65 78 74 69 74 5c | 3e 22 0a 73 79 6e 20 6d |\textit\|>".syn m|
|00000d10| 61 74 63 68 20 74 65 78 | 54 79 70 65 53 74 79 6c |atch tex|TypeStyl|
|00000d20| 65 09 22 5c 5c 74 65 78 | 74 73 6c 5c 3e 22 0a 73 |e."\\tex|tsl\>".s|
|00000d30| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 54 79 70 65 |yn match| texType|
|00000d40| 53 74 79 6c 65 09 22 5c | 5c 74 65 78 74 73 66 5c |Style."\|\textsf\|
|00000d50| 3e 22 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |>".syn m|atch tex|
|00000d60| 54 79 70 65 53 74 79 6c | 65 09 22 5c 5c 74 65 78 |TypeStyl|e."\\tex|
|00000d70| 74 73 63 5c 3e 22 0a 73 | 79 6e 20 6d 61 74 63 68 |tsc\>".s|yn match|
|00000d80| 20 74 65 78 54 79 70 65 | 53 74 79 6c 65 09 22 5c | texType|Style."\|
|00000d90| 5c 74 65 78 74 74 74 5c | 3e 22 0a 0a 73 79 6e 20 |\texttt\|>"..syn |
|00000da0| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 74 79 |match te|xTypeSty|
|00000db0| 6c 65 09 22 5c 5c 6d 61 | 74 68 72 6d 5c 3e 22 0a |le."\\ma|thrm\>".|
|00000dc0| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00000dd0| 65 53 74 79 6c 65 09 22 | 5c 5c 6d 61 74 68 65 6d |eStyle."|\\mathem|
|00000de0| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000df0| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 6d 61 |xTypeSty|le."\\ma|
|00000e00| 74 68 62 66 5c 3e 22 0a | 73 79 6e 20 6d 61 74 63 |thbf\>".|syn matc|
|00000e10| 68 20 74 65 78 54 79 70 | 65 53 74 79 6c 65 09 22 |h texTyp|eStyle."|
|00000e20| 5c 5c 6d 61 74 68 69 74 | 5c 3e 22 0a 73 79 6e 20 |\\mathit|\>".syn |
|00000e30| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 74 79 |match te|xTypeSty|
|00000e40| 6c 65 09 22 5c 5c 6d 61 | 74 68 73 6c 5c 3e 22 0a |le."\\ma|thsl\>".|
|00000e50| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00000e60| 65 53 74 79 6c 65 09 22 | 5c 5c 6d 61 74 68 73 66 |eStyle."|\\mathsf|
|00000e70| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00000e80| 78 54 79 70 65 53 74 79 | 6c 65 09 22 5c 5c 6d 61 |xTypeSty|le."\\ma|
|00000e90| 74 68 73 63 5c 3e 22 0a | 73 79 6e 20 6d 61 74 63 |thsc\>".|syn matc|
|00000ea0| 68 20 74 65 78 54 79 70 | 65 53 74 79 6c 65 09 22 |h texTyp|eStyle."|
|00000eb0| 5c 5c 6d 61 74 68 74 74 | 5c 3e 22 0a 0a 22 20 53 |\\mathtt|\>".." S|
|00000ec0| 6f 6d 65 20 74 79 70 65 | 20 73 69 7a 65 73 0a 73 |ome type| sizes.s|
|00000ed0| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 54 79 70 65 |yn match| texType|
|00000ee0| 53 69 7a 65 09 22 5c 5c | 74 69 6e 79 5c 3e 22 0a |Size."\\|tiny\>".|
|00000ef0| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00000f00| 65 53 69 7a 65 09 22 5c | 5c 73 63 72 69 70 74 73 |eSize."\|\scripts|
|00000f10| 69 7a 65 5c 3e 22 0a 73 | 79 6e 20 6d 61 74 63 68 |ize\>".s|yn match|
|00000f20| 20 74 65 78 54 79 70 65 | 53 69 7a 65 09 22 5c 5c | texType|Size."\\|
|00000f30| 66 6f 6f 74 6e 6f 74 65 | 73 69 7a 65 5c 3e 22 0a |footnote|size\>".|
|00000f40| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00000f50| 65 53 69 7a 65 09 22 5c | 5c 73 6d 61 6c 6c 5c 3e |eSize."\|\small\>|
|00000f60| 22 0a 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 54 |".syn ma|tch texT|
|00000f70| 79 70 65 53 69 7a 65 09 | 22 5c 5c 6e 6f 72 6d 61 |ypeSize.|"\\norma|
|00000f80| 6c 73 69 7a 65 5c 3e 22 | 0a 73 79 6e 20 6d 61 74 |lsize\>"|.syn mat|
|00000f90| 63 68 20 74 65 78 54 79 | 70 65 53 69 7a 65 09 22 |ch texTy|peSize."|
|00000fa0| 5c 5c 6c 61 72 67 65 5c | 3e 22 0a 73 79 6e 20 6d |\\large\|>".syn m|
|00000fb0| 61 74 63 68 20 74 65 78 | 54 79 70 65 53 69 7a 65 |atch tex|TypeSize|
|00000fc0| 09 22 5c 5c 4c 61 72 67 | 65 5c 3e 22 0a 73 79 6e |."\\Larg|e\>".syn|
|00000fd0| 20 6d 61 74 63 68 20 74 | 65 78 54 79 70 65 53 69 | match t|exTypeSi|
|00000fe0| 7a 65 09 22 5c 5c 4c 41 | 52 47 45 5c 3e 22 0a 73 |ze."\\LA|RGE\>".s|
|00000ff0| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 54 79 70 65 |yn match| texType|
|00001000| 53 69 7a 65 09 22 5c 5c | 68 75 67 65 5c 3e 22 0a |Size."\\|huge\>".|
|00001010| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00001020| 65 53 69 7a 65 09 22 5c | 5c 48 75 67 65 5c 3e 22 |eSize."\|\Huge\>"|
|00001030| 0a 0a 22 20 53 65 63 74 | 69 6f 6e 73 2c 20 73 75 |.." Sect|ions, su|
|00001040| 62 73 65 63 74 69 6f 6e | 73 2c 20 65 74 63 0a 73 |bsection|s, etc.s|
|00001050| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 53 65 63 74 |yn match| texSect|
|00001060| 69 6f 6e 09 22 5c 5c 5c | 28 73 75 62 5c 29 2a 73 |ion."\\\|(sub\)*s|
|00001070| 65 63 74 69 6f 6e 5c 2a | 5c 3d 5c 3e 22 0a 73 79 |ection\*|\=\>".sy|
|00001080| 6e 20 6d 61 74 63 68 20 | 74 65 78 53 65 63 74 69 |n match |texSecti|
|00001090| 6f 6e 09 22 5c 5c 5c 28 | 74 69 74 6c 65 5c 7c 61 |on."\\\(|title\|a|
|000010a0| 75 74 68 6f 72 5c 7c 70 | 61 72 74 5c 7c 63 68 61 |uthor\|p|art\|cha|
|000010b0| 70 74 65 72 5c 7c 70 61 | 72 61 67 72 61 70 68 5c |pter\|pa|ragraph\|
|000010c0| 7c 73 75 62 70 61 72 61 | 67 72 61 70 68 5c 29 5c ||subpara|graph\)\|
|000010d0| 3e 22 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |>".syn m|atch tex|
|000010e0| 53 65 63 74 69 6f 6e 09 | 22 5c 5c 62 65 67 69 6e |Section.|"\\begin|
|000010f0| 7b 61 62 73 74 72 61 63 | 74 7d 5c 7c 5c 5c 65 6e |{abstrac|t}\|\\en|
|00001100| 64 7b 61 62 73 74 72 61 | 63 74 7d 22 0a 0a 22 20 |d{abstra|ct}".." |
|00001110| 42 61 64 20 4d 61 74 68 | 20 28 6d 69 73 6d 61 74 |Bad Math| (mismat|
|00001120| 63 68 65 64 29 0a 73 79 | 6e 20 6d 61 74 63 68 20 |ched).sy|n match |
|00001130| 74 65 78 42 61 64 4d 61 | 74 68 09 22 5c 5c 65 6e |texBadMa|th."\\en|
|00001140| 64 7b 5c 28 73 70 6c 69 | 74 5c 7c 61 6c 69 67 6e |d{\(spli|t\|align|
|00001150| 5c 7c 67 61 74 68 65 72 | 5c 7c 61 6c 69 67 6e 61 |\|gather|\|aligna|
|00001160| 74 5c 7c 66 6c 61 6c 69 | 67 6e 5c 7c 6d 75 6c 74 |t\|flali|gn\|mult|
|00001170| 6c 69 6e 65 5c 29 22 0a | 73 79 6e 20 6d 61 74 63 |line\)".|syn matc|
|00001180| 68 20 74 65 78 42 61 64 | 4d 61 74 68 09 22 5c 5c |h texBad|Math."\\|
|00001190| 65 6e 64 7b 5c 28 65 71 | 75 61 74 69 6f 6e 5c 7c |end{\(eq|uation\||
|000011a0| 65 71 6e 61 72 72 61 79 | 5c 7c 64 69 73 70 6c 61 |eqnarray|\|displa|
|000011b0| 79 6d 61 74 68 5c 29 5c | 2a 5c 3d 7d 22 0a 73 79 |ymath\)\|*\=}".sy|
|000011c0| 6e 20 6d 61 74 63 68 20 | 74 65 78 42 61 64 4d 61 |n match |texBadMa|
|000011d0| 74 68 09 22 5c 5c 5b 5c | 5d 29 5d 22 0a 0a 22 20 |th."\\[\|])]".." |
|000011e0| 4d 61 74 68 20 5a 6f 6e | 65 73 20 61 6e 64 20 43 |Math Zon|es and C|
|000011f0| 6c 75 73 74 65 72 73 0a | 73 79 6e 20 63 6c 75 73 |lusters.|syn clus|
|00001200| 74 65 72 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 47 |ter texM|athZoneG|
|00001210| 72 6f 75 70 09 63 6f 6e | 74 61 69 6e 73 3d 74 65 |roup.con|tains=te|
|00001220| 78 43 6f 6d 6d 65 6e 74 | 2c 74 65 78 44 65 6c 69 |xComment|,texDeli|
|00001230| 6d 69 74 65 72 2c 74 65 | 78 45 72 72 6f 72 2c 74 |miter,te|xError,t|
|00001240| 65 78 4c 65 6e 67 74 68 | 2c 74 65 78 4d 61 74 68 |exLength|,texMath|
|00001250| 44 65 6c 69 6d 2c 74 65 | 78 4d 61 74 68 4d 61 74 |Delim,te|xMathMat|
|00001260| 63 68 65 72 2c 74 65 78 | 4d 61 74 68 4f 70 65 72 |cher,tex|MathOper|
|00001270| 2c 74 65 78 4d 61 74 68 | 50 61 72 65 6e 2c 74 65 |,texMath|Paren,te|
|00001280| 78 52 65 66 5a 6f 6e 65 | 2c 74 65 78 53 74 61 74 |xRefZone|,texStat|
|00001290| 65 6d 65 6e 74 2c 74 65 | 78 54 79 70 65 53 69 7a |ement,te|xTypeSiz|
|000012a0| 65 2c 74 65 78 54 79 70 | 65 53 74 79 6c 65 0a 73 |e,texTyp|eStyle.s|
|000012b0| 79 6e 20 63 6c 75 73 74 | 65 72 20 74 65 78 4d 61 |yn clust|er texMa|
|000012c0| 74 68 5a 6f 6e 65 73 09 | 63 6f 6e 74 61 69 6e 73 |thZones.|contains|
|000012d0| 3d 74 65 78 4d 61 74 68 | 5a 6f 6e 65 41 2c 74 65 |=texMath|ZoneA,te|
|000012e0| 78 4d 61 74 68 5a 6f 6e | 65 42 2c 74 65 78 4d 61 |xMathZon|eB,texMa|
|000012f0| 74 68 5a 6f 6e 65 43 2c | 74 65 78 4d 61 74 68 5a |thZoneC,|texMathZ|
|00001300| 6f 6e 65 44 2c 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |oneD,tex|MathZone|
|00001310| 45 2c 74 65 78 4d 61 74 | 68 5a 6f 6e 65 46 2c 74 |E,texMat|hZoneF,t|
|00001320| 65 78 4d 61 74 68 5a 6f | 6e 65 47 2c 74 65 78 4d |exMathZo|neG,texM|
|00001330| 61 74 68 5a 6f 6e 65 48 | 2c 74 65 78 4d 61 74 68 |athZoneH|,texMath|
|00001340| 5a 6f 6e 65 49 2c 74 65 | 78 4d 61 74 68 5a 6f 6e |ZoneI,te|xMathZon|
|00001350| 65 4a 2c 74 65 78 4d 61 | 74 68 5a 6f 6e 65 4b 2c |eJ,texMa|thZoneK,|
|00001360| 74 65 78 4d 61 74 68 5a | 6f 6e 65 4c 2c 74 65 78 |texMathZ|oneL,tex|
|00001370| 4d 61 74 68 5a 6f 6e 65 | 4d 2c 74 65 78 4d 61 74 |MathZone|M,texMat|
|00001380| 68 5a 6f 6e 65 4e 2c 74 | 65 78 4d 61 74 68 5a 6f |hZoneN,t|exMathZo|
|00001390| 6e 65 4f 2c 74 65 78 4d | 61 74 68 5a 6f 6e 65 50 |neO,texM|athZoneP|
|000013a0| 2c 74 65 78 4d 61 74 68 | 5a 6f 6e 65 51 2c 74 65 |,texMath|ZoneQ,te|
|000013b0| 78 4d 61 74 68 5a 6f 6e | 65 52 2c 74 65 78 4d 61 |xMathZon|eR,texMa|
|000013c0| 74 68 5a 6f 6e 65 53 2c | 74 65 78 4d 61 74 68 5a |thZoneS,|texMathZ|
|000013d0| 6f 6e 65 54 2c 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |oneT,tex|MathZone|
|000013e0| 55 2c 74 65 78 4d 61 74 | 68 5a 6f 6e 65 56 2c 74 |U,texMat|hZoneV,t|
|000013f0| 65 78 4d 61 74 68 5a 6f | 6e 65 57 0a 0a 73 79 6e |exMathZo|neW..syn|
|00001400| 20 72 65 67 69 6f 6e 20 | 74 65 78 4d 61 74 68 5a | region |texMathZ|
|00001410| 6f 6e 65 41 09 73 74 61 | 72 74 3d 22 5c 5c 62 65 |oneA.sta|rt="\\be|
|00001420| 67 69 6e 7b 61 6c 69 67 | 6e 5c 2a 7d 22 09 65 6e |gin{alig|n\*}".en|
|00001430| 64 3d 22 5c 5c 65 6e 64 | 7b 61 6c 69 67 6e 5c 2a |d="\\end|{align\*|
|00001440| 7d 22 09 6b 65 65 70 65 | 6e 64 20 63 6f 6e 74 61 |}".keepe|nd conta|
|00001450| 69 6e 73 3d 40 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |ins=@tex|MathZone|
|00001460| 47 72 6f 75 70 0a 73 79 | 6e 20 72 65 67 69 6f 6e |Group.sy|n region|
|00001470| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 42 09 73 74 | texMath|ZoneB.st|
|00001480| 61 72 74 3d 22 5c 5c 62 | 65 67 69 6e 7b 61 6c 69 |art="\\b|egin{ali|
|00001490| 67 6e 61 74 5c 2a 7d 22 | 09 65 6e 64 3d 22 5c 5c |gnat\*}"|.end="\\|
|000014a0| 65 6e 64 7b 61 6c 69 67 | 6e 61 74 5c 2a 7d 22 09 |end{alig|nat\*}".|
|000014b0| 6b 65 65 70 65 6e 64 20 | 63 6f 6e 74 61 69 6e 73 |keepend |contains|
|000014c0| 3d 40 74 65 78 4d 61 74 | 68 5a 6f 6e 65 47 72 6f |=@texMat|hZoneGro|
|000014d0| 75 70 0a 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 |up.syn r|egion te|
|000014e0| 78 4d 61 74 68 5a 6f 6e | 65 43 09 73 74 61 72 74 |xMathZon|eC.start|
|000014f0| 3d 22 5c 5c 62 65 67 69 | 6e 7b 61 6c 69 67 6e 61 |="\\begi|n{aligna|
|00001500| 74 7d 22 09 65 6e 64 3d | 22 5c 5c 65 6e 64 7b 61 |t}".end=|"\\end{a|
|00001510| 6c 69 67 6e 61 74 7d 22 | 09 6b 65 65 70 65 6e 64 |lignat}"|.keepend|
|00001520| 20 63 6f 6e 74 61 69 6e | 73 3d 40 74 65 78 4d 61 | contain|s=@texMa|
|00001530| 74 68 5a 6f 6e 65 47 72 | 6f 75 70 0a 73 79 6e 20 |thZoneGr|oup.syn |
|00001540| 72 65 67 69 6f 6e 20 74 | 65 78 4d 61 74 68 5a 6f |region t|exMathZo|
|00001550| 6e 65 44 09 73 74 61 72 | 74 3d 22 5c 5c 62 65 67 |neD.star|t="\\beg|
|00001560| 69 6e 7b 61 6c 69 67 6e | 7d 22 09 65 6e 64 3d 22 |in{align|}".end="|
|00001570| 5c 5c 65 6e 64 7b 61 6c | 69 67 6e 7d 22 09 6b 65 |\\end{al|ign}".ke|
|00001580| 65 70 65 6e 64 20 63 6f | 6e 74 61 69 6e 73 3d 40 |epend co|ntains=@|
|00001590| 74 65 78 4d 61 74 68 5a | 6f 6e 65 47 72 6f 75 70 |texMathZ|oneGroup|
|000015a0| 0a 73 79 6e 20 72 65 67 | 69 6f 6e 20 74 65 78 4d |.syn reg|ion texM|
|000015b0| 61 74 68 5a 6f 6e 65 45 | 09 73 74 61 72 74 3d 22 |athZoneE|.start="|
|000015c0| 5c 5c 62 65 67 69 6e 7b | 65 71 6e 61 72 72 61 79 |\\begin{|eqnarray|
|000015d0| 5c 2a 7d 22 09 65 6e 64 | 3d 22 5c 5c 65 6e 64 7b |\*}".end|="\\end{|
|000015e0| 65 71 6e 61 72 72 61 79 | 5c 2a 7d 22 09 6b 65 65 |eqnarray|\*}".kee|
|000015f0| 70 65 6e 64 20 63 6f 6e | 74 61 69 6e 73 3d 40 74 |pend con|tains=@t|
|00001600| 65 78 4d 61 74 68 5a 6f | 6e 65 47 72 6f 75 70 0a |exMathZo|neGroup.|
|00001610| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 4d 61 |syn regi|on texMa|
|00001620| 74 68 5a 6f 6e 65 46 09 | 73 74 61 72 74 3d 22 5c |thZoneF.|start="\|
|00001630| 5c 62 65 67 69 6e 7b 65 | 71 6e 61 72 72 61 79 7d |\begin{e|qnarray}|
|00001640| 22 09 65 6e 64 3d 22 5c | 5c 65 6e 64 7b 65 71 6e |".end="\|\end{eqn|
|00001650| 61 72 72 61 79 7d 22 09 | 6b 65 65 70 65 6e 64 20 |array}".|keepend |
|00001660| 63 6f 6e 74 61 69 6e 73 | 3d 40 74 65 78 4d 61 74 |contains|=@texMat|
|00001670| 68 5a 6f 6e 65 47 72 6f | 75 70 0a 73 79 6e 20 72 |hZoneGro|up.syn r|
|00001680| 65 67 69 6f 6e 20 74 65 | 78 4d 61 74 68 5a 6f 6e |egion te|xMathZon|
|00001690| 65 47 09 73 74 61 72 74 | 3d 22 5c 5c 62 65 67 69 |eG.start|="\\begi|
|000016a0| 6e 7b 65 71 75 61 74 69 | 6f 6e 5c 2a 7d 22 09 65 |n{equati|on\*}".e|
|000016b0| 6e 64 3d 22 5c 5c 65 6e | 64 7b 65 71 75 61 74 69 |nd="\\en|d{equati|
|000016c0| 6f 6e 5c 2a 7d 22 09 6b | 65 65 70 65 6e 64 20 63 |on\*}".k|eepend c|
|000016d0| 6f 6e 74 61 69 6e 73 3d | 40 74 65 78 4d 61 74 68 |ontains=|@texMath|
|000016e0| 5a 6f 6e 65 47 72 6f 75 | 70 0a 73 79 6e 20 72 65 |ZoneGrou|p.syn re|
|000016f0| 67 69 6f 6e 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |gion tex|MathZone|
|00001700| 48 09 73 74 61 72 74 3d | 22 5c 5c 62 65 67 69 6e |H.start=|"\\begin|
|00001710| 7b 65 71 75 61 74 69 6f | 6e 7d 22 09 65 6e 64 3d |{equatio|n}".end=|
|00001720| 22 5c 5c 65 6e 64 7b 65 | 71 75 61 74 69 6f 6e 7d |"\\end{e|quation}|
|00001730| 22 09 6b 65 65 70 65 6e | 64 20 63 6f 6e 74 61 69 |".keepen|d contai|
|00001740| 6e 73 3d 40 74 65 78 4d | 61 74 68 5a 6f 6e 65 47 |ns=@texM|athZoneG|
|00001750| 72 6f 75 70 0a 73 79 6e | 20 72 65 67 69 6f 6e 20 |roup.syn| region |
|00001760| 74 65 78 4d 61 74 68 5a | 6f 6e 65 49 09 73 74 61 |texMathZ|oneI.sta|
|00001770| 72 74 3d 22 5c 5c 62 65 | 67 69 6e 7b 66 6c 61 6c |rt="\\be|gin{flal|
|00001780| 69 67 6e 5c 2a 7d 22 09 | 65 6e 64 3d 22 5c 5c 65 |ign\*}".|end="\\e|
|00001790| 6e 64 7b 66 6c 61 6c 69 | 67 6e 5c 2a 7d 22 09 6b |nd{flali|gn\*}".k|
|000017a0| 65 65 70 65 6e 64 20 63 | 6f 6e 74 61 69 6e 73 3d |eepend c|ontains=|
|000017b0| 40 74 65 78 4d 61 74 68 | 5a 6f 6e 65 47 72 6f 75 |@texMath|ZoneGrou|
|000017c0| 70 0a 73 79 6e 20 72 65 | 67 69 6f 6e 20 74 65 78 |p.syn re|gion tex|
|000017d0| 4d 61 74 68 5a 6f 6e 65 | 4a 09 73 74 61 72 74 3d |MathZone|J.start=|
|000017e0| 22 5c 5c 62 65 67 69 6e | 7b 66 6c 61 6c 69 67 6e |"\\begin|{flalign|
|000017f0| 7d 22 09 65 6e 64 3d 22 | 5c 5c 65 6e 64 7b 66 6c |}".end="|\\end{fl|
|00001800| 61 6c 69 67 6e 7d 22 09 | 6b 65 65 70 65 6e 64 20 |align}".|keepend |
|00001810| 63 6f 6e 74 61 69 6e 73 | 3d 40 74 65 78 4d 61 74 |contains|=@texMat|
|00001820| 68 5a 6f 6e 65 47 72 6f | 75 70 0a 73 79 6e 20 72 |hZoneGro|up.syn r|
|00001830| 65 67 69 6f 6e 20 74 65 | 78 4d 61 74 68 5a 6f 6e |egion te|xMathZon|
|00001840| 65 4b 09 73 74 61 72 74 | 3d 22 5c 5c 62 65 67 69 |eK.start|="\\begi|
|00001850| 6e 7b 67 61 74 68 65 72 | 5c 2a 7d 22 09 65 6e 64 |n{gather|\*}".end|
|00001860| 3d 22 5c 5c 65 6e 64 7b | 67 61 74 68 65 72 5c 2a |="\\end{|gather\*|
|00001870| 7d 22 09 6b 65 65 70 65 | 6e 64 20 63 6f 6e 74 61 |}".keepe|nd conta|
|00001880| 69 6e 73 3d 40 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |ins=@tex|MathZone|
|00001890| 47 72 6f 75 70 0a 73 79 | 6e 20 72 65 67 69 6f 6e |Group.sy|n region|
|000018a0| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 4c 09 73 74 | texMath|ZoneL.st|
|000018b0| 61 72 74 3d 22 5c 5c 62 | 65 67 69 6e 7b 67 61 74 |art="\\b|egin{gat|
|000018c0| 68 65 72 7d 22 09 65 6e | 64 3d 22 5c 5c 65 6e 64 |her}".en|d="\\end|
|000018d0| 7b 67 61 74 68 65 72 7d | 22 09 6b 65 65 70 65 6e |{gather}|".keepen|
|000018e0| 64 20 63 6f 6e 74 61 69 | 6e 73 3d 40 74 65 78 4d |d contai|ns=@texM|
|000018f0| 61 74 68 5a 6f 6e 65 47 | 72 6f 75 70 0a 73 79 6e |athZoneG|roup.syn|
|00001900| 20 72 65 67 69 6f 6e 20 | 74 65 78 4d 61 74 68 5a | region |texMathZ|
|00001910| 6f 6e 65 4d 09 73 74 61 | 72 74 3d 22 5c 5c 62 65 |oneM.sta|rt="\\be|
|00001920| 67 69 6e 7b 6d 61 74 68 | 5c 2a 7d 22 09 65 6e 64 |gin{math|\*}".end|
|00001930| 3d 22 5c 5c 65 6e 64 7b | 6d 61 74 68 5c 2a 7d 22 |="\\end{|math\*}"|
|00001940| 09 6b 65 65 70 65 6e 64 | 20 63 6f 6e 74 61 69 6e |.keepend| contain|
|00001950| 73 3d 40 74 65 78 4d 61 | 74 68 5a 6f 6e 65 47 72 |s=@texMa|thZoneGr|
|00001960| 6f 75 70 0a 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 |oup.syn |region t|
|00001970| 65 78 4d 61 74 68 5a 6f | 6e 65 4e 09 73 74 61 72 |exMathZo|neN.star|
|00001980| 74 3d 22 5c 5c 62 65 67 | 69 6e 7b 6d 61 74 68 7d |t="\\beg|in{math}|
|00001990| 22 09 65 6e 64 3d 22 5c | 5c 65 6e 64 7b 6d 61 74 |".end="\|\end{mat|
|000019a0| 68 7d 22 09 6b 65 65 70 | 65 6e 64 20 63 6f 6e 74 |h}".keep|end cont|
|000019b0| 61 69 6e 73 3d 40 74 65 | 78 4d 61 74 68 5a 6f 6e |ains=@te|xMathZon|
|000019c0| 65 47 72 6f 75 70 0a 73 | 79 6e 20 72 65 67 69 6f |eGroup.s|yn regio|
|000019d0| 6e 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 4f 09 73 |n texMat|hZoneO.s|
|000019e0| 74 61 72 74 3d 22 5c 5c | 62 65 67 69 6e 7b 6d 75 |tart="\\|begin{mu|
|000019f0| 6c 74 6c 69 6e 65 7d 22 | 09 65 6e 64 3d 22 5c 5c |ltline}"|.end="\\|
|00001a00| 65 6e 64 7b 6d 75 6c 74 | 6c 69 6e 65 7d 22 09 6b |end{mult|line}".k|
|00001a10| 65 65 70 65 6e 64 20 63 | 6f 6e 74 61 69 6e 73 3d |eepend c|ontains=|
|00001a20| 40 74 65 78 4d 61 74 68 | 5a 6f 6e 65 47 72 6f 75 |@texMath|ZoneGrou|
|00001a30| 70 0a 73 79 6e 20 72 65 | 67 69 6f 6e 20 74 65 78 |p.syn re|gion tex|
|00001a40| 4d 61 74 68 5a 6f 6e 65 | 50 09 73 74 61 72 74 3d |MathZone|P.start=|
|00001a50| 22 5c 5c 62 65 67 69 6e | 7b 73 70 6c 69 74 7d 22 |"\\begin|{split}"|
|00001a60| 09 65 6e 64 3d 22 5c 5c | 65 6e 64 7b 73 70 6c 69 |.end="\\|end{spli|
|00001a70| 74 7d 22 09 6b 65 65 70 | 65 6e 64 20 63 6f 6e 74 |t}".keep|end cont|
|00001a80| 61 69 6e 73 3d 40 74 65 | 78 4d 61 74 68 5a 6f 6e |ains=@te|xMathZon|
|00001a90| 65 47 72 6f 75 70 0a 73 | 79 6e 20 72 65 67 69 6f |eGroup.s|yn regio|
|00001aa0| 6e 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 51 09 73 |n texMat|hZoneQ.s|
|00001ab0| 74 61 72 74 3d 22 5c 5c | 62 65 67 69 6e 7b 64 69 |tart="\\|begin{di|
|00001ac0| 73 70 6c 61 79 6d 61 74 | 68 5c 2a 7d 22 09 65 6e |splaymat|h\*}".en|
|00001ad0| 64 3d 22 5c 5c 65 6e 64 | 7b 64 69 73 70 6c 61 79 |d="\\end|{display|
|00001ae0| 6d 61 74 68 5c 2a 7d 22 | 09 6b 65 65 70 65 6e 64 |math\*}"|.keepend|
|00001af0| 20 63 6f 6e 74 61 69 6e | 73 3d 40 74 65 78 4d 61 | contain|s=@texMa|
|00001b00| 74 68 5a 6f 6e 65 47 72 | 6f 75 70 0a 73 79 6e 20 |thZoneGr|oup.syn |
|00001b10| 72 65 67 69 6f 6e 20 74 | 65 78 4d 61 74 68 5a 6f |region t|exMathZo|
|00001b20| 6e 65 52 09 73 74 61 72 | 74 3d 22 5c 5c 62 65 67 |neR.star|t="\\beg|
|00001b30| 69 6e 7b 64 69 73 70 6c | 61 79 6d 61 74 68 7d 22 |in{displ|aymath}"|
|00001b40| 09 65 6e 64 3d 22 5c 5c | 65 6e 64 7b 64 69 73 70 |.end="\\|end{disp|
|00001b50| 6c 61 79 6d 61 74 68 7d | 22 09 6b 65 65 70 65 6e |laymath}|".keepen|
|00001b60| 64 20 63 6f 6e 74 61 69 | 6e 73 3d 40 74 65 78 4d |d contai|ns=@texM|
|00001b70| 61 74 68 5a 6f 6e 65 47 | 72 6f 75 70 0a 73 79 6e |athZoneG|roup.syn|
|00001b80| 20 72 65 67 69 6f 6e 20 | 74 65 78 4d 61 74 68 5a | region |texMathZ|
|00001b90| 6f 6e 65 53 09 73 74 61 | 72 74 3d 22 5c 5c 62 65 |oneS.sta|rt="\\be|
|00001ba0| 67 69 6e 7b 6d 75 6c 74 | 6c 69 6e 65 5c 2a 7d 22 |gin{mult|line\*}"|
|00001bb0| 09 65 6e 64 3d 22 5c 5c | 65 6e 64 7b 6d 75 6c 74 |.end="\\|end{mult|
|00001bc0| 6c 69 6e 65 5c 2a 7d 22 | 09 6b 65 65 70 65 6e 64 |line\*}"|.keepend|
|00001bd0| 20 63 6f 6e 74 61 69 6e | 73 3d 40 74 65 78 4d 61 | contain|s=@texMa|
|00001be0| 74 68 5a 6f 6e 65 47 72 | 6f 75 70 0a 20 20 20 20 |thZoneGr|oup. |
|00001bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c00| 20 20 20 0a 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 | .syn |region t|
|00001c10| 65 78 4d 61 74 68 5a 6f | 6e 65 54 09 6d 61 74 63 |exMathZo|neT.matc|
|00001c20| 68 67 72 6f 75 70 3d 44 | 65 6c 69 6d 69 74 65 72 |hgroup=D|elimiter|
|00001c30| 20 73 74 61 72 74 3d 22 | 5c 5c 28 22 09 6d 61 74 | start="|\\(".mat|
|00001c40| 63 68 67 72 6f 75 70 3d | 44 65 6c 69 6d 69 74 65 |chgroup=|Delimite|
|00001c50| 72 20 65 6e 64 3d 22 5c | 5c 29 5c 7c 25 73 74 6f |r end="\|\)\|%sto|
|00001c60| 70 7a 6f 6e 65 22 09 6b | 65 65 70 65 6e 64 20 63 |pzone".k|eepend c|
|00001c70| 6f 6e 74 61 69 6e 73 3d | 40 74 65 78 4d 61 74 68 |ontains=|@texMath|
|00001c80| 5a 6f 6e 65 47 72 6f 75 | 70 0a 73 79 6e 20 72 65 |ZoneGrou|p.syn re|
|00001c90| 67 69 6f 6e 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |gion tex|MathZone|
|00001ca0| 55 09 6d 61 74 63 68 67 | 72 6f 75 70 3d 44 65 6c |U.matchg|roup=Del|
|00001cb0| 69 6d 69 74 65 72 20 73 | 74 61 72 74 3d 22 5c 5c |imiter s|tart="\\|
|00001cc0| 5c 5b 22 09 6d 61 74 63 | 68 67 72 6f 75 70 3d 44 |\[".matc|hgroup=D|
|00001cd0| 65 6c 69 6d 69 74 65 72 | 20 65 6e 64 3d 22 5c 5c |elimiter| end="\\|
|00001ce0| 5d 5c 7c 25 73 74 6f 70 | 7a 6f 6e 65 22 09 6b 65 |]\|%stop|zone".ke|
|00001cf0| 65 70 65 6e 64 20 63 6f | 6e 74 61 69 6e 73 3d 40 |epend co|ntains=@|
|00001d00| 74 65 78 4d 61 74 68 5a | 6f 6e 65 47 72 6f 75 70 |texMathZ|oneGroup|
|00001d10| 0a 73 79 6e 20 72 65 67 | 69 6f 6e 20 74 65 78 4d |.syn reg|ion texM|
|00001d20| 61 74 68 5a 6f 6e 65 56 | 09 6d 61 74 63 68 67 72 |athZoneV|.matchgr|
|00001d30| 6f 75 70 3d 44 65 6c 69 | 6d 69 74 65 72 20 73 74 |oup=Deli|miter st|
|00001d40| 61 72 74 3d 22 5c 24 22 | 09 73 6b 69 70 3d 22 5c |art="\$"|.skip="\|
|00001d50| 28 5c 5c 5c 5c 5c 29 2a | 5c 5c 5c 24 22 09 6d 61 |(\\\\\)*|\\\$".ma|
|00001d60| 74 63 68 67 72 6f 75 70 | 3d 44 65 6c 69 6d 69 74 |tchgroup|=Delimit|
|00001d70| 65 72 20 65 6e 64 3d 22 | 5c 24 5c 7c 25 73 74 6f |er end="|\$\|%sto|
|00001d80| 70 7a 6f 6e 65 22 20 6b | 65 65 70 65 6e 64 20 63 |pzone" k|eepend c|
|00001d90| 6f 6e 74 61 69 6e 73 3d | 40 74 65 78 4d 61 74 68 |ontains=|@texMath|
|00001da0| 5a 6f 6e 65 47 72 6f 75 | 70 0a 73 79 6e 20 72 65 |ZoneGrou|p.syn re|
|00001db0| 67 69 6f 6e 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |gion tex|MathZone|
|00001dc0| 57 09 6d 61 74 63 68 67 | 72 6f 75 70 3d 44 65 6c |W.matchg|roup=Del|
|00001dd0| 69 6d 69 74 65 72 20 73 | 74 61 72 74 3d 22 5c 24 |imiter s|tart="\$|
|00001de0| 5c 24 22 09 6d 61 74 63 | 68 67 72 6f 75 70 3d 44 |\$".matc|hgroup=D|
|00001df0| 65 6c 69 6d 69 74 65 72 | 20 65 6e 64 3d 22 5c 24 |elimiter| end="\$|
|00001e00| 5c 24 5c 7c 25 73 74 6f | 70 7a 6f 6e 65 22 20 6b |\$\|%sto|pzone" k|
|00001e10| 65 65 70 65 6e 64 20 63 | 6f 6e 74 61 69 6e 73 3d |eepend c|ontains=|
|00001e20| 40 74 65 78 4d 61 74 68 | 5a 6f 6e 65 47 72 6f 75 |@texMath|ZoneGrou|
|00001e30| 70 0a 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |p..syn m|atch tex|
|00001e40| 4d 61 74 68 4f 70 65 72 | 09 22 5b 5f 5e 3d 5d 22 |MathOper|."[_^=]"|
|00001e50| 20 63 6f 6e 74 61 69 6e | 65 64 0a 0a 22 20 5c 6c | contain|ed.." \l|
|00001e60| 65 66 74 2e 2e 73 6f 6d | 65 74 68 69 6e 67 2e 2e |eft..som|ething..|
|00001e70| 20 61 6e 64 20 5c 72 69 | 67 68 74 2e 2e 73 6f 6d | and \ri|ght..som|
|00001e80| 65 74 68 69 6e 67 2e 2e | 20 73 75 70 70 6f 72 74 |ething..| support|
|00001e90| 0a 73 79 6e 20 6d 61 74 | 63 68 20 20 20 74 65 78 |.syn mat|ch tex|
|00001ea0| 4d 61 74 68 44 65 6c 69 | 6d 42 61 64 20 63 6f 6e |MathDeli|mBad con|
|00001eb0| 74 61 69 6e 65 64 09 22 | 5b 5e 61 2d 7a 41 2d 5a |tained."|[^a-zA-Z|
|00001ec0| 30 2d 39 5d 22 0a 73 79 | 6e 20 6d 61 74 63 68 20 |0-9]".sy|n match |
|00001ed0| 20 20 74 65 78 4d 61 74 | 68 44 65 6c 69 6d 09 22 | texMat|hDelim."|
|00001ee0| 5c 5c 5c 28 6c 65 66 74 | 5c 7c 72 69 67 68 74 5c |\\\(left|\|right\|
|00001ef0| 29 5b 5e 61 2d 7a 41 2d | 5a 30 2d 39 5d 22 6d 65 |)[^a-zA-|Z0-9]"me|
|00001f00| 3d 65 2d 31 09 6e 65 78 | 74 67 72 6f 75 70 3d 74 |=e-1.nex|tgroup=t|
|00001f10| 65 78 4d 61 74 68 44 65 | 6c 69 6d 42 73 2c 74 65 |exMathDe|limBs,te|
|00001f20| 78 4d 61 74 68 44 65 6c | 69 6d 43 68 72 2c 74 65 |xMathDel|imChr,te|
|00001f30| 78 4d 61 74 68 44 65 6c | 69 6d 42 61 64 0a 73 79 |xMathDel|imBad.sy|
|00001f40| 6e 20 6d 61 74 63 68 20 | 20 20 74 65 78 4d 61 74 |n match | texMat|
|00001f50| 68 44 65 6c 69 6d 43 68 | 72 20 63 6f 6e 74 61 69 |hDelimCh|r contai|
|00001f60| 6e 65 64 09 22 5b 28 29 | 2e 7c 5c 5b 5c 5d 5d 22 |ned."[()|.|\[\]]"|
|00001f70| 0a 73 79 6e 20 6d 61 74 | 63 68 20 20 20 74 65 78 |.syn mat|ch tex|
|00001f80| 4d 61 74 68 44 65 6c 69 | 6d 42 73 20 20 63 6f 6e |MathDeli|mBs con|
|00001f90| 74 61 69 6e 65 64 09 22 | 5c 5c 2e 22 6d 65 3d 65 |tained."|\\."me=e|
|00001fa0| 2d 31 09 6e 65 78 74 67 | 72 6f 75 70 3d 74 65 78 |-1.nextg|roup=tex|
|00001fb0| 4d 61 74 68 44 65 6c 69 | 6d 4b 65 79 0a 73 79 6e |MathDeli|mKey.syn|
|00001fc0| 20 6b 65 79 77 6f 72 64 | 20 74 65 78 4d 61 74 68 | keyword| texMath|
|00001fd0| 44 65 6c 69 6d 4b 65 79 | 20 63 6f 6e 74 61 69 6e |DelimKey| contain|
|00001fe0| 65 64 09 44 6f 77 6e 61 | 72 72 6f 77 09 55 70 61 |ed.Downa|rrow.Upa|
|00001ff0| 72 72 6f 77 09 64 6f 77 | 6e 61 72 72 6f 77 09 6c |rrow.dow|narrow.l|
|00002000| 63 65 69 6c 09 72 61 6e | 67 6c 65 09 75 70 61 72 |ceil.ran|gle.upar|
|00002010| 72 6f 77 0a 73 79 6e 20 | 6b 65 79 77 6f 72 64 20 |row.syn |keyword |
|00002020| 74 65 78 4d 61 74 68 44 | 65 6c 69 6d 4b 65 79 20 |texMathD|elimKey |
|00002030| 63 6f 6e 74 61 69 6e 65 | 64 09 52 66 6c 6f 6f 72 |containe|d.Rfloor|
|00002040| 09 62 61 63 6b 73 6c 61 | 73 68 09 6c 61 6e 67 6c |.backsla|sh.langl|
|00002050| 65 09 6c 66 6c 6f 6f 72 | 09 72 63 65 69 6c 0a 73 |e.lfloor|.rceil.s|
|00002060| 79 6e 20 6d 61 74 63 68 | 20 20 20 74 65 78 4d 61 |yn match| texMa|
|00002070| 74 68 44 65 6c 69 6d 4b | 65 79 20 63 6f 6e 74 61 |thDelimK|ey conta|
|00002080| 69 6e 65 64 09 22 5b 7b | 7d 5d 22 0a 0a 22 20 43 |ined."[{|}]".." C|
|00002090| 6f 6d 6d 65 6e 74 73 3a | 0a 73 79 6e 20 6d 61 74 |omments:|.syn mat|
|000020a0| 63 68 20 74 65 78 43 6f | 6d 6d 65 6e 74 09 22 25 |ch texCo|mment."%|
|000020b0| 2e 2a 24 22 0a 0a 22 20 | 73 65 70 61 72 61 74 65 |.*$".." |separate|
|000020c0| 20 6c 69 6e 65 73 20 75 | 73 65 64 20 66 6f 72 20 | lines u|sed for |
|000020d0| 76 65 72 62 60 20 61 6e | 64 20 76 65 72 62 23 20 |verb` an|d verb# |
|000020e0| 73 6f 20 74 68 61 74 20 | 74 68 65 20 65 6e 64 20 |so that |the end |
|000020f0| 63 6f 6e 64 69 74 69 6f | 6e 73 0a 22 20 77 69 6c |conditio|ns." wil|
|00002100| 6c 20 61 70 70 72 6f 70 | 72 69 61 74 65 6c 79 20 |l approp|riately |
|00002110| 74 65 72 6d 69 6e 61 74 | 65 2e 20 20 49 64 65 61 |terminat|e. Idea|
|00002120| 6c 6c 79 20 76 69 6d 20 | 77 6f 75 6c 64 20 6c 65 |lly vim |would le|
|00002130| 74 20 6d 65 20 73 61 76 | 65 20 61 0a 22 20 63 68 |t me sav|e a." ch|
|00002140| 61 72 61 63 74 65 72 20 | 66 72 6f 6d 20 74 68 65 |aracter |from the|
|00002150| 20 73 74 61 72 74 20 70 | 61 74 74 65 72 6e 20 61 | start p|attern a|
|00002160| 6e 64 20 72 65 2d 75 73 | 65 20 69 74 20 69 6e 20 |nd re-us|e it in |
|00002170| 74 68 65 20 65 6e 64 2d | 70 61 74 74 65 72 6e 2e |the end-|pattern.|
|00002180| 0a 73 79 6e 20 72 65 67 | 69 6f 6e 20 74 65 78 5a |.syn reg|ion texZ|
|00002190| 6f 6e 65 09 73 74 61 72 | 74 3d 22 5c 5c 62 65 67 |one.star|t="\\beg|
|000021a0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 22 09 09 65 |in{verba|tim}"..e|
|000021b0| 6e 64 3d 22 5c 5c 65 6e | 64 7b 76 65 72 62 61 74 |nd="\\en|d{verbat|
|000021c0| 69 6d 7d 5c 7c 25 73 74 | 6f 70 7a 6f 6e 65 22 0a |im}\|%st|opzone".|
|000021d0| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 5a 6f |syn regi|on texZo|
|000021e0| 6e 65 09 73 74 61 72 74 | 3d 22 5c 5c 76 65 72 62 |ne.start|="\\verb|
|000021f0| 60 22 09 09 65 6e 64 3d | 22 60 5c 7c 25 73 74 6f |`"..end=|"`\|%sto|
|00002200| 70 7a 6f 6e 65 22 0a 73 | 79 6e 20 72 65 67 69 6f |pzone".s|yn regio|
|00002210| 6e 20 74 65 78 5a 6f 6e | 65 09 73 74 61 72 74 3d |n texZon|e.start=|
|00002220| 22 5c 5c 76 65 72 62 23 | 22 09 09 65 6e 64 3d 22 |"\\verb#|"..end="|
|00002230| 23 5c 7c 25 73 74 6f 70 | 7a 6f 6e 65 22 0a 73 79 |#\|%stop|zone".sy|
|00002240| 6e 20 72 65 67 69 6f 6e | 20 74 65 78 5a 6f 6e 65 |n region| texZone|
|00002250| 09 73 74 61 72 74 3d 22 | 40 73 61 6d 70 7b 22 09 |.start="|@samp{".|
|00002260| 09 65 6e 64 3d 22 7d 5c | 7c 25 73 74 6f 70 7a 6f |.end="}\||%stopzo|
|00002270| 6e 65 22 0a 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 |ne".syn |region t|
|00002280| 65 78 52 65 66 5a 6f 6e | 65 09 6d 61 74 63 68 67 |exRefZon|e.matchg|
|00002290| 72 6f 75 70 3d 74 65 78 | 53 74 61 74 65 6d 65 6e |roup=tex|Statemen|
|000022a0| 74 20 73 74 61 72 74 3d | 22 5c 5c 63 69 74 65 7b |t start=|"\\cite{|
|000022b0| 22 09 6b 65 65 70 65 6e | 64 20 65 6e 64 3d 22 7d |".keepen|d end="}|
|000022c0| 5c 7c 25 73 74 6f 70 7a | 6f 6e 65 22 20 20 63 6f |\|%stopz|one" co|
|000022d0| 6e 74 61 69 6e 73 3d 74 | 65 78 43 6f 6d 6d 65 6e |ntains=t|exCommen|
|000022e0| 74 2c 74 65 78 44 65 6c | 69 6d 69 74 65 72 0a 73 |t,texDel|imiter.s|
|000022f0| 79 6e 20 72 65 67 69 6f | 6e 20 74 65 78 52 65 66 |yn regio|n texRef|
|00002300| 5a 6f 6e 65 09 6d 61 74 | 63 68 67 72 6f 75 70 3d |Zone.mat|chgroup=|
|00002310| 74 65 78 53 74 61 74 65 | 6d 65 6e 74 20 73 74 61 |texState|ment sta|
|00002320| 72 74 3d 22 5c 5c 6c 61 | 62 65 6c 7b 22 09 6b 65 |rt="\\la|bel{".ke|
|00002330| 65 70 65 6e 64 20 65 6e | 64 3d 22 7d 5c 7c 25 73 |epend en|d="}\|%s|
|00002340| 74 6f 70 7a 6f 6e 65 22 | 20 20 63 6f 6e 74 61 69 |topzone"| contai|
|00002350| 6e 73 3d 74 65 78 43 6f | 6d 6d 65 6e 74 2c 74 65 |ns=texCo|mment,te|
|00002360| 78 44 65 6c 69 6d 69 74 | 65 72 0a 73 79 6e 20 72 |xDelimit|er.syn r|
|00002370| 65 67 69 6f 6e 20 74 65 | 78 52 65 66 5a 6f 6e 65 |egion te|xRefZone|
|00002380| 09 6d 61 74 63 68 67 72 | 6f 75 70 3d 74 65 78 53 |.matchgr|oup=texS|
|00002390| 74 61 74 65 6d 65 6e 74 | 20 73 74 61 72 74 3d 22 |tatement| start="|
|000023a0| 5c 5c 70 61 67 65 72 65 | 66 7b 22 09 6b 65 65 70 |\\pagere|f{".keep|
|000023b0| 65 6e 64 20 65 6e 64 3d | 22 7d 5c 7c 25 73 74 6f |end end=|"}\|%sto|
|000023c0| 70 7a 6f 6e 65 22 20 20 | 63 6f 6e 74 61 69 6e 73 |pzone" |contains|
|000023d0| 3d 74 65 78 43 6f 6d 6d | 65 6e 74 2c 74 65 78 44 |=texComm|ent,texD|
|000023e0| 65 6c 69 6d 69 74 65 72 | 0a 73 79 6e 20 72 65 67 |elimiter|.syn reg|
|000023f0| 69 6f 6e 20 74 65 78 52 | 65 66 5a 6f 6e 65 09 6d |ion texR|efZone.m|
|00002400| 61 74 63 68 67 72 6f 75 | 70 3d 74 65 78 53 74 61 |atchgrou|p=texSta|
|00002410| 74 65 6d 65 6e 74 20 73 | 74 61 72 74 3d 22 5c 5c |tement s|tart="\\|
|00002420| 72 65 66 7b 22 09 6b 65 | 65 70 65 6e 64 20 65 6e |ref{".ke|epend en|
|00002430| 64 3d 22 7d 5c 7c 25 73 | 74 6f 70 7a 6f 6e 65 22 |d="}\|%s|topzone"|
|00002440| 20 20 63 6f 6e 74 61 69 | 6e 73 3d 74 65 78 43 6f | contai|ns=texCo|
|00002450| 6d 6d 65 6e 74 2c 74 65 | 78 44 65 6c 69 6d 69 74 |mment,te|xDelimit|
|00002460| 65 72 0a 0a 22 20 73 70 | 65 63 69 61 6c 20 54 65 |er.." sp|ecial Te|
|00002470| 58 20 63 68 61 72 61 63 | 74 65 72 73 20 20 28 20 |X charac|ters ( |
|00002480| 5c 24 20 5c 26 20 5c 25 | 20 5c 23 20 5c 7b 20 5c |\$ \& \%| \# \{ \|
|00002490| 7d 20 5c 5f 20 5c 53 20 | 5c 50 20 29 0a 73 79 6e |} \_ \S |\P ).syn|
|000024a0| 20 6d 61 74 63 68 20 74 | 65 78 53 70 65 63 69 61 | match t|exSpecia|
|000024b0| 6c 43 68 61 72 09 22 5c | 5c 5b 24 26 25 23 7b 7d |lChar."\|\[$&%#{}|
|000024c0| 5f 5d 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |_]".syn |match te|
|000024d0| 78 53 70 65 63 69 61 6c | 43 68 61 72 09 22 5c 5c |xSpecial|Char."\\|
|000024e0| 5b 53 50 40 5d 5b 5e 61 | 2d 7a 41 2d 5a 5d 22 6d |[SP@][^a|-zA-Z]"m|
|000024f0| 65 3d 65 2d 31 0a 73 79 | 6e 20 6d 61 74 63 68 20 |e=e-1.sy|n match |
|00002500| 74 65 78 53 70 65 63 69 | 61 6c 43 68 61 72 09 22 |texSpeci|alChar."|
|00002510| 5c 5c 5c 5c 22 0a 73 79 | 6e 20 6d 61 74 63 68 20 |\\\\".sy|n match |
|00002520| 74 65 78 4f 6e 6c 79 4d | 61 74 68 09 22 5b 5f 5e |texOnlyM|ath."[_^|
|00002530| 5d 22 0a 0a 22 20 74 65 | 78 41 63 63 65 6e 74 20 |]".." te|xAccent |
|00002540| 28 74 6e 78 20 74 6f 20 | 4b 61 72 69 6d 20 42 65 |(tnx to |Karim Be|
|00002550| 6c 61 62 61 73 29 20 61 | 76 6f 69 64 73 20 61 6e |labas) a|voids an|
|00002560| 6e 6f 79 69 6e 67 20 68 | 69 67 68 6c 69 67 68 74 |noying h|ighlight|
|00002570| 69 6e 67 20 66 6f 72 20 | 61 63 63 65 6e 74 73 0a |ing for |accents.|
|00002580| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 41 63 63 |syn matc|h texAcc|
|00002590| 65 6e 74 09 22 5c 5c 5b | 62 63 64 76 75 48 5d 5b |ent."\\[|bcdvuH][|
|000025a0| 5e 61 2d 7a 41 2d 5a 5d | 22 6d 65 3d 65 2d 31 0a |^a-zA-Z]|"me=e-1.|
|000025b0| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 41 63 63 |syn matc|h texAcc|
|000025c0| 65 6e 74 09 22 5c 5c 5b | 62 63 64 76 75 48 5d 24 |ent."\\[|bcdvuH]$|
|000025d0| 22 0a 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 41 |".syn ma|tch texA|
|000025e0| 63 63 65 6e 74 09 2b 5c | 5c 5b 3d 5e 2e 5c 7e 22 |ccent.+\|\[=^.\~"|
|000025f0| 60 27 5d 2b 0a 73 79 6e | 20 6d 61 74 63 68 20 74 |`']+.syn| match t|
|00002600| 65 78 4c 69 67 61 74 75 | 72 65 09 22 5c 5c 5c 28 |exLigatu|re."\\\(|
|00002610| 5b 69 6a 6f 6c 4c 5d 5c | 7c 61 65 5c 7c 6f 65 5c |[ijolL]\||ae\|oe\|
|00002620| 7c 73 73 5c 7c 41 41 5c | 7c 41 45 5c 7c 4f 45 5c ||ss\|AA\||AE\|OE\|
|00002630| 29 5b 5e 61 2d 7a 41 2d | 5a 5d 22 6d 65 3d 65 2d |)[^a-zA-|Z]"me=e-|
|00002640| 31 0a 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 4c |1.syn ma|tch texL|
|00002650| 69 67 61 74 75 72 65 09 | 22 5c 5c 5c 28 5b 69 6a |igature.|"\\\([ij|
|00002660| 6f 6c 4c 5d 5c 7c 61 65 | 5c 7c 6f 65 5c 7c 73 73 |olL]\|ae|\|oe\|ss|
|00002670| 5c 7c 41 41 5c 7c 41 45 | 5c 7c 4f 45 5c 29 24 22 |\|AA\|AE|\|OE\)$"|
|00002680| 0a 0a 22 20 68 61 6e 64 | 6c 65 20 6e 65 77 63 6f |.." hand|le newco|
|00002690| 6d 6d 61 6e 64 73 0a 73 | 79 6e 20 6d 61 74 63 68 |mmands.s|yn match|
|000026a0| 20 20 74 65 78 4e 65 77 | 43 6d 64 09 09 22 5c 5c | texNew|Cmd.."\\|
|000026b0| 6e 65 77 63 6f 6d 6d 61 | 6e 64 22 09 09 6e 65 78 |newcomma|nd"..nex|
|000026c0| 74 67 72 6f 75 70 3d 74 | 65 78 43 6d 64 4e 61 6d |tgroup=t|exCmdNam|
|000026d0| 65 20 73 6b 69 70 77 68 | 69 74 65 20 73 6b 69 70 |e skipwh|ite skip|
|000026e0| 6e 6c 0a 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 |nl.syn r|egion te|
|000026f0| 78 43 6d 64 4e 61 6d 65 | 20 63 6f 6e 74 61 69 6e |xCmdName| contain|
|00002700| 65 64 20 6d 61 74 63 68 | 67 72 6f 75 70 3d 44 65 |ed match|group=De|
|00002710| 6c 69 6d 69 74 65 72 20 | 73 74 61 72 74 3d 22 7b |limiter |start="{|
|00002720| 22 72 73 3d 73 2b 31 20 | 20 65 6e 64 3d 22 7d 22 |"rs=s+1 | end="}"|
|00002730| 09 6e 65 78 74 67 72 6f | 75 70 3d 74 65 78 43 6d |.nextgro|up=texCm|
|00002740| 64 41 72 67 73 2c 74 65 | 78 43 6d 64 42 6f 64 79 |dArgs,te|xCmdBody|
|00002750| 20 73 6b 69 70 77 68 69 | 74 65 20 73 6b 69 70 6e | skipwhi|te skipn|
|00002760| 6c 0a 73 79 6e 20 72 65 | 67 69 6f 6e 20 74 65 78 |l.syn re|gion tex|
|00002770| 43 6d 64 41 72 67 73 20 | 63 6f 6e 74 61 69 6e 65 |CmdArgs |containe|
|00002780| 64 20 6d 61 74 63 68 67 | 72 6f 75 70 3d 44 65 6c |d matchg|roup=Del|
|00002790| 69 6d 69 74 65 72 20 73 | 74 61 72 74 3d 22 5c 5b |imiter s|tart="\[|
|000027a0| 22 72 73 3d 73 2b 31 20 | 65 6e 64 3d 22 5d 22 09 |"rs=s+1 |end="]".|
|000027b0| 6e 65 78 74 67 72 6f 75 | 70 3d 74 65 78 43 6d 64 |nextgrou|p=texCmd|
|000027c0| 42 6f 64 79 20 73 6b 69 | 70 77 68 69 74 65 20 73 |Body ski|pwhite s|
|000027d0| 6b 69 70 6e 6c 0a 73 79 | 6e 20 72 65 67 69 6f 6e |kipnl.sy|n region|
|000027e0| 20 74 65 78 43 6d 64 42 | 6f 64 79 20 63 6f 6e 74 | texCmdB|ody cont|
|000027f0| 61 69 6e 65 64 20 6d 61 | 74 63 68 67 72 6f 75 70 |ained ma|tchgroup|
|00002800| 3d 44 65 6c 69 6d 69 74 | 65 72 20 73 74 61 72 74 |=Delimit|er start|
|00002810| 3d 22 7b 22 72 73 3d 73 | 2b 31 20 73 6b 69 70 3d |="{"rs=s|+1 skip=|
|00002820| 22 5c 28 5c 5c 5c 5c 5c | 29 5c 5c 5b 7b 7d 5d 22 |"\(\\\\\|)\\[{}]"|
|00002830| 20 6d 61 74 63 68 67 72 | 6f 75 70 3d 44 65 6c 69 | matchgr|oup=Deli|
|00002840| 6d 69 74 65 72 20 65 6e | 64 3d 22 7d 22 20 63 6f |miter en|d="}" co|
|00002850| 6e 74 61 69 6e 73 3d 41 | 4c 4c 42 55 54 2c 74 65 |ntains=A|LLBUT,te|
|00002860| 78 41 63 63 65 6e 74 2c | 74 65 78 42 61 64 4d 61 |xAccent,|texBadMa|
|00002870| 74 68 2c 74 65 78 43 6d | 64 41 72 67 73 2c 74 65 |th,texCm|dArgs,te|
|00002880| 78 43 6d 64 4e 61 6d 65 | 2c 74 65 78 44 65 66 43 |xCmdName|,texDefC|
|00002890| 6d 64 2c 74 65 78 44 65 | 66 4e 61 6d 65 2c 74 65 |md,texDe|fName,te|
|000028a0| 78 45 72 72 6f 72 2c 74 | 65 78 4d 61 74 63 68 65 |xError,t|exMatche|
|000028b0| 72 2c 74 65 78 4d 61 74 | 68 44 65 6c 69 6d 42 61 |r,texMat|hDelimBa|
|000028c0| 64 2c 74 65 78 4d 61 74 | 68 44 65 6c 69 6d 42 73 |d,texMat|hDelimBs|
|000028d0| 2c 74 65 78 4d 61 74 68 | 44 65 6c 69 6d 43 68 72 |,texMath|DelimChr|
|000028e0| 2c 74 65 78 4d 61 74 68 | 44 65 6c 69 6d 4b 65 79 |,texMath|DelimKey|
|000028f0| 2c 74 65 78 4d 61 74 68 | 4d 61 74 63 68 65 72 2c |,texMath|Matcher,|
|00002900| 74 65 78 4d 61 74 68 50 | 61 72 65 6e 2c 40 74 65 |texMathP|aren,@te|
|00002910| 78 4d 61 74 68 5a 6f 6e | 65 73 2c 74 65 78 4f 6e |xMathZon|es,texOn|
|00002920| 6c 79 4d 61 74 68 2c 74 | 65 78 50 61 72 65 6e 2c |lyMath,t|exParen,|
|00002930| 74 65 78 5a 6f 6e 65 0a | 0a 73 79 6e 20 6d 61 74 |texZone.|.syn mat|
|00002940| 63 68 20 74 65 78 44 65 | 66 43 6d 64 09 22 5c 5c |ch texDe|fCmd."\\|
|00002950| 64 65 66 22 09 09 6e 65 | 78 74 67 72 6f 75 70 3d |def"..ne|xtgroup=|
|00002960| 74 65 78 44 65 66 4e 61 | 6d 65 20 73 6b 69 70 77 |texDefNa|me skipw|
|00002970| 68 69 74 65 20 73 6b 69 | 70 6e 6c 0a 73 79 6e 20 |hite ski|pnl.syn |
|00002980| 6d 61 74 63 68 20 74 65 | 78 44 65 66 4e 61 6d 65 |match te|xDefName|
|00002990| 20 63 6f 6e 74 61 69 6e | 65 64 09 22 5c 5c 5b 61 | contain|ed."\\[a|
|000029a0| 2d 7a 41 2d 5a 5d 5c 2b | 22 09 09 6e 65 78 74 67 |-zA-Z]\+|"..nextg|
|000029b0| 72 6f 75 70 3d 74 65 78 | 43 6d 64 42 6f 64 79 20 |roup=tex|CmdBody |
|000029c0| 73 6b 69 70 77 68 69 74 | 65 20 73 6b 69 70 6e 6c |skipwhit|e skipnl|
|000029d0| 0a 0a 22 20 54 65 58 20 | 4c 65 6e 67 74 68 73 0a |.." TeX |Lengths.|
|000029e0| 73 79 6e 20 6d 61 74 63 | 68 20 20 74 65 78 4c 65 |syn matc|h texLe|
|000029f0| 6e 67 74 68 09 22 5c 64 | 5c 2b 5c 28 5c 2e 5c 64 |ngth."\d|\+\(\.\d|
|00002a00| 5c 2b 5c 29 5c 3d 5c 28 | 63 6d 5c 7c 65 6d 5c 7c |\+\)\=\(|cm\|em\||
|00002a10| 65 78 5c 7c 69 6e 5c 7c | 70 63 5c 7c 70 74 5c 7c |ex\|in\||pc\|pt\||
|00002a20| 6d 6d 5c 29 22 0a 0a 22 | 20 54 65 58 20 53 74 72 |mm\)".."| TeX Str|
|00002a30| 69 6e 67 20 44 65 6c 69 | 6d 69 74 65 72 73 0a 73 |ing Deli|miters.s|
|00002a40| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 53 74 72 69 |yn match| texStri|
|00002a50| 6e 67 09 22 5c 28 60 60 | 5c 7c 27 27 5c 29 22 0a |ng."\(``|\|''\)".|
|00002a60| 0a 22 20 4c 61 54 65 58 | 20 73 79 6e 63 68 72 6f |." LaTeX| synchro|
|00002a70| 6e 69 7a 61 74 69 6f 6e | 0a 73 79 6e 20 73 79 6e |nization|.syn syn|
|00002a80| 63 20 6d 61 78 6c 69 6e | 65 73 3d 32 30 30 0a 73 |c maxlin|es=200.s|
|00002a90| 79 6e 20 73 79 6e 63 20 | 6d 69 6e 6c 69 6e 65 73 |yn sync |minlines|
|00002aa0| 3d 35 30 0a 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |=50..syn| sync ma|
|00002ab0| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00002ac0| 6f 6e 65 41 09 67 72 6f | 75 70 68 65 72 65 20 74 |oneA.gro|uphere t|
|00002ad0| 65 78 4d 61 74 68 5a 6f | 6e 65 41 09 22 5c 5c 62 |exMathZo|neA."\\b|
|00002ae0| 65 67 69 6e 7b 61 6c 69 | 67 6e 5c 2a 7d 22 0a 73 |egin{ali|gn\*}".s|
|00002af0| 79 6e 20 73 79 6e 63 20 | 6d 61 74 63 68 20 74 65 |yn sync |match te|
|00002b00| 78 53 79 6e 63 4d 61 74 | 68 5a 6f 6e 65 42 09 67 |xSyncMat|hZoneB.g|
|00002b10| 72 6f 75 70 68 65 72 65 | 20 74 65 78 4d 61 74 68 |rouphere| texMath|
|00002b20| 5a 6f 6e 65 42 09 22 5c | 5c 62 65 67 69 6e 7b 61 |ZoneB."\|\begin{a|
|00002b30| 6c 69 67 6e 61 74 5c 2a | 7d 22 0a 73 79 6e 20 73 |lignat\*|}".syn s|
|00002b40| 79 6e 63 20 6d 61 74 63 | 68 20 74 65 78 53 79 6e |ync matc|h texSyn|
|00002b50| 63 4d 61 74 68 5a 6f 6e | 65 43 09 67 72 6f 75 70 |cMathZon|eC.group|
|00002b60| 68 65 72 65 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |here tex|MathZone|
|00002b70| 43 09 22 5c 5c 62 65 67 | 69 6e 7b 61 6c 69 67 6e |C."\\beg|in{align|
|00002b80| 61 74 7d 22 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |at}".syn| sync ma|
|00002b90| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00002ba0| 6f 6e 65 44 09 67 72 6f | 75 70 68 65 72 65 20 74 |oneD.gro|uphere t|
|00002bb0| 65 78 4d 61 74 68 5a 6f | 6e 65 44 09 22 5c 5c 62 |exMathZo|neD."\\b|
|00002bc0| 65 67 69 6e 7b 61 6c 69 | 67 6e 7d 22 0a 73 79 6e |egin{ali|gn}".syn|
|00002bd0| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|00002be0| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 45 09 67 72 6f |yncMathZ|oneE.gro|
|00002bf0| 75 70 68 65 72 65 20 74 | 65 78 4d 61 74 68 5a 6f |uphere t|exMathZo|
|00002c00| 6e 65 45 09 22 5c 5c 62 | 65 67 69 6e 7b 65 71 6e |neE."\\b|egin{eqn|
|00002c10| 61 72 72 61 79 5c 2a 7d | 22 0a 73 79 6e 20 73 79 |array\*}|".syn sy|
|00002c20| 6e 63 20 6d 61 74 63 68 | 20 74 65 78 53 79 6e 63 |nc match| texSync|
|00002c30| 4d 61 74 68 5a 6f 6e 65 | 46 09 67 72 6f 75 70 68 |MathZone|F.grouph|
|00002c40| 65 72 65 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 46 |ere texM|athZoneF|
|00002c50| 09 22 5c 5c 62 65 67 69 | 6e 7b 65 71 6e 61 72 72 |."\\begi|n{eqnarr|
|00002c60| 61 79 7d 22 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |ay}".syn| sync ma|
|00002c70| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00002c80| 6f 6e 65 47 09 67 72 6f | 75 70 68 65 72 65 20 74 |oneG.gro|uphere t|
|00002c90| 65 78 4d 61 74 68 5a 6f | 6e 65 47 09 22 5c 5c 62 |exMathZo|neG."\\b|
|00002ca0| 65 67 69 6e 7b 65 71 75 | 61 74 69 6f 6e 5c 2a 7d |egin{equ|ation\*}|
|00002cb0| 22 0a 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |".syn sy|nc match|
|00002cc0| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00002cd0| 48 09 67 72 6f 75 70 68 | 65 72 65 20 74 65 78 4d |H.grouph|ere texM|
|00002ce0| 61 74 68 5a 6f 6e 65 48 | 09 22 5c 5c 62 65 67 69 |athZoneH|."\\begi|
|00002cf0| 6e 7b 65 71 75 61 74 69 | 6f 6e 7d 22 0a 73 79 6e |n{equati|on}".syn|
|00002d00| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|00002d10| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 49 09 67 72 6f |yncMathZ|oneI.gro|
|00002d20| 75 70 68 65 72 65 20 74 | 65 78 4d 61 74 68 5a 6f |uphere t|exMathZo|
|00002d30| 6e 65 49 09 22 5c 5c 62 | 65 67 69 6e 7b 66 6c 61 |neI."\\b|egin{fla|
|00002d40| 6c 69 67 6e 5c 2a 7d 22 | 0a 73 79 6e 20 73 79 6e |lign\*}"|.syn syn|
|00002d50| 63 20 6d 61 74 63 68 20 | 74 65 78 53 79 6e 63 4d |c match |texSyncM|
|00002d60| 61 74 68 5a 6f 6e 65 4a | 09 67 72 6f 75 70 68 65 |athZoneJ|.grouphe|
|00002d70| 72 65 20 74 65 78 4d 61 | 74 68 5a 6f 6e 65 4a 09 |re texMa|thZoneJ.|
|00002d80| 22 5c 5c 62 65 67 69 6e | 7b 66 6c 61 6c 69 67 6e |"\\begin|{flalign|
|00002d90| 7d 22 0a 73 79 6e 20 73 | 79 6e 63 20 6d 61 74 63 |}".syn s|ync matc|
|00002da0| 68 20 74 65 78 53 79 6e | 63 4d 61 74 68 5a 6f 6e |h texSyn|cMathZon|
|00002db0| 65 4b 09 67 72 6f 75 70 | 68 65 72 65 20 74 65 78 |eK.group|here tex|
|00002dc0| 4d 61 74 68 5a 6f 6e 65 | 4b 09 22 5c 5c 62 65 67 |MathZone|K."\\beg|
|00002dd0| 69 6e 7b 67 61 74 68 65 | 72 5c 2a 7d 22 0a 73 79 |in{gathe|r\*}".sy|
|00002de0| 6e 20 73 79 6e 63 20 6d | 61 74 63 68 20 74 65 78 |n sync m|atch tex|
|00002df0| 53 79 6e 63 4d 61 74 68 | 5a 6f 6e 65 4c 09 67 72 |SyncMath|ZoneL.gr|
|00002e00| 6f 75 70 68 65 72 65 20 | 74 65 78 4d 61 74 68 5a |ouphere |texMathZ|
|00002e10| 6f 6e 65 4c 09 22 5c 5c | 62 65 67 69 6e 7b 67 61 |oneL."\\|begin{ga|
|00002e20| 74 68 65 72 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |ther}".s|yn sync |
|00002e30| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00002e40| 68 5a 6f 6e 65 4d 09 67 | 72 6f 75 70 68 65 72 65 |hZoneM.g|rouphere|
|00002e50| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 4d 09 22 5c | texMath|ZoneM."\|
|00002e60| 5c 62 65 67 69 6e 7b 6d | 61 74 68 5c 2a 7d 22 0a |\begin{m|ath\*}".|
|00002e70| 73 79 6e 20 73 79 6e 63 | 20 6d 61 74 63 68 20 74 |syn sync| match t|
|00002e80| 65 78 53 79 6e 63 4d 61 | 74 68 5a 6f 6e 65 4e 09 |exSyncMa|thZoneN.|
|00002e90| 67 72 6f 75 70 68 65 72 | 65 20 74 65 78 4d 61 74 |groupher|e texMat|
|00002ea0| 68 5a 6f 6e 65 4e 09 22 | 5c 5c 62 65 67 69 6e 7b |hZoneN."|\\begin{|
|00002eb0| 6d 61 74 68 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |math}".s|yn sync |
|00002ec0| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00002ed0| 68 5a 6f 6e 65 4f 09 67 | 72 6f 75 70 68 65 72 65 |hZoneO.g|rouphere|
|00002ee0| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 4f 09 22 5c | texMath|ZoneO."\|
|00002ef0| 5c 62 65 67 69 6e 7b 6d | 75 6c 74 6c 69 6e 65 7d |\begin{m|ultline}|
|00002f00| 22 0a 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |".syn sy|nc match|
|00002f10| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00002f20| 50 09 67 72 6f 75 70 68 | 65 72 65 20 74 65 78 4d |P.grouph|ere texM|
|00002f30| 61 74 68 5a 6f 6e 65 50 | 09 22 5c 5c 62 65 67 69 |athZoneP|."\\begi|
|00002f40| 6e 7b 73 70 6c 69 74 7d | 22 0a 73 79 6e 20 73 79 |n{split}|".syn sy|
|00002f50| 6e 63 20 6d 61 74 63 68 | 20 74 65 78 53 79 6e 63 |nc match| texSync|
|00002f60| 4d 61 74 68 5a 6f 6e 65 | 51 09 67 72 6f 75 70 68 |MathZone|Q.grouph|
|00002f70| 65 72 65 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 51 |ere texM|athZoneQ|
|00002f80| 09 22 5c 5c 62 65 67 69 | 6e 7b 64 69 73 70 6c 61 |."\\begi|n{displa|
|00002f90| 79 6d 61 74 68 5c 2a 7d | 22 0a 73 79 6e 20 73 79 |ymath\*}|".syn sy|
|00002fa0| 6e 63 20 6d 61 74 63 68 | 20 74 65 78 53 79 6e 63 |nc match| texSync|
|00002fb0| 4d 61 74 68 5a 6f 6e 65 | 52 09 67 72 6f 75 70 68 |MathZone|R.grouph|
|00002fc0| 65 72 65 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 52 |ere texM|athZoneR|
|00002fd0| 09 22 5c 5c 62 65 67 69 | 6e 7b 64 69 73 70 6c 61 |."\\begi|n{displa|
|00002fe0| 79 6d 61 74 68 7d 22 0a | 73 79 6e 20 73 79 6e 63 |ymath}".|syn sync|
|00002ff0| 20 6d 61 74 63 68 20 74 | 65 78 53 79 6e 63 4d 61 | match t|exSyncMa|
|00003000| 74 68 5a 6f 6e 65 53 09 | 67 72 6f 75 70 68 65 72 |thZoneS.|groupher|
|00003010| 65 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 53 09 22 |e texMat|hZoneS."|
|00003020| 5c 5c 62 65 67 69 6e 7b | 6d 75 6c 74 6c 69 6e 65 |\\begin{|multline|
|00003030| 5c 2a 7d 22 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |\*}".syn| sync ma|
|00003040| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00003050| 6f 6e 65 54 09 67 72 6f | 75 70 68 65 72 65 20 74 |oneT.gro|uphere t|
|00003060| 65 78 4d 61 74 68 5a 6f | 6e 65 54 09 22 5c 5c 28 |exMathZo|neT."\\(|
|00003070| 22 0a 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |".syn sy|nc match|
|00003080| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00003090| 55 09 67 72 6f 75 70 68 | 65 72 65 20 74 65 78 4d |U.grouph|ere texM|
|000030a0| 61 74 68 5a 6f 6e 65 55 | 09 22 5c 5c 5c 5b 22 0a |athZoneU|."\\\[".|
|000030b0| 0a 73 79 6e 20 73 79 6e | 63 20 6d 61 74 63 68 20 |.syn syn|c match |
|000030c0| 74 65 78 53 79 6e 63 4d | 61 74 68 5a 6f 6e 65 41 |texSyncM|athZoneA|
|000030d0| 09 67 72 6f 75 70 74 68 | 65 72 65 20 4e 4f 4e 45 |.groupth|ere NONE|
|000030e0| 09 22 5c 5c 65 6e 64 7b | 61 6c 69 67 6e 5c 2a 7d |."\\end{|align\*}|
|000030f0| 22 0a 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |".syn sy|nc match|
|00003100| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00003110| 42 09 67 72 6f 75 70 74 | 68 65 72 65 20 4e 4f 4e |B.groupt|here NON|
|00003120| 45 09 22 5c 5c 65 6e 64 | 7b 61 6c 69 67 6e 61 74 |E."\\end|{alignat|
|00003130| 5c 2a 7d 22 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |\*}".syn| sync ma|
|00003140| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00003150| 6f 6e 65 43 09 67 72 6f | 75 70 74 68 65 72 65 20 |oneC.gro|upthere |
|00003160| 4e 4f 4e 45 09 22 5c 5c | 65 6e 64 7b 61 6c 69 67 |NONE."\\|end{alig|
|00003170| 6e 61 74 7d 22 0a 73 79 | 6e 20 73 79 6e 63 20 6d |nat}".sy|n sync m|
|00003180| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|00003190| 5a 6f 6e 65 44 09 67 72 | 6f 75 70 74 68 65 72 65 |ZoneD.gr|oupthere|
|000031a0| 20 4e 4f 4e 45 09 22 5c | 5c 65 6e 64 7b 61 6c 69 | NONE."\|\end{ali|
|000031b0| 67 6e 7d 22 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |gn}".syn| sync ma|
|000031c0| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|000031d0| 6f 6e 65 45 09 67 72 6f | 75 70 74 68 65 72 65 20 |oneE.gro|upthere |
|000031e0| 4e 4f 4e 45 09 22 5c 5c | 65 6e 64 7b 65 71 6e 61 |NONE."\\|end{eqna|
|000031f0| 72 72 61 79 5c 2a 7d 22 | 0a 73 79 6e 20 73 79 6e |rray\*}"|.syn syn|
|00003200| 63 20 6d 61 74 63 68 20 | 74 65 78 53 79 6e 63 4d |c match |texSyncM|
|00003210| 61 74 68 5a 6f 6e 65 46 | 09 67 72 6f 75 70 74 68 |athZoneF|.groupth|
|00003220| 65 72 65 20 4e 4f 4e 45 | 09 22 5c 5c 65 6e 64 7b |ere NONE|."\\end{|
|00003230| 65 71 6e 61 72 72 61 79 | 7d 22 0a 73 79 6e 20 73 |eqnarray|}".syn s|
|00003240| 79 6e 63 20 6d 61 74 63 | 68 20 74 65 78 53 79 6e |ync matc|h texSyn|
|00003250| 63 4d 61 74 68 5a 6f 6e | 65 47 09 67 72 6f 75 70 |cMathZon|eG.group|
|00003260| 74 68 65 72 65 20 4e 4f | 4e 45 09 22 5c 5c 65 6e |there NO|NE."\\en|
|00003270| 64 7b 65 71 75 61 74 69 | 6f 6e 5c 2a 7d 22 0a 73 |d{equati|on\*}".s|
|00003280| 79 6e 20 73 79 6e 63 20 | 6d 61 74 63 68 20 74 65 |yn sync |match te|
|00003290| 78 53 79 6e 63 4d 61 74 | 68 5a 6f 6e 65 48 09 67 |xSyncMat|hZoneH.g|
|000032a0| 72 6f 75 70 74 68 65 72 | 65 20 4e 4f 4e 45 09 22 |roupther|e NONE."|
|000032b0| 5c 5c 65 6e 64 7b 65 71 | 75 61 74 69 6f 6e 7d 22 |\\end{eq|uation}"|
|000032c0| 0a 73 79 6e 20 73 79 6e | 63 20 6d 61 74 63 68 20 |.syn syn|c match |
|000032d0| 74 65 78 53 79 6e 63 4d | 61 74 68 5a 6f 6e 65 49 |texSyncM|athZoneI|
|000032e0| 09 67 72 6f 75 70 74 68 | 65 72 65 20 4e 4f 4e 45 |.groupth|ere NONE|
|000032f0| 09 22 5c 5c 65 6e 64 7b | 66 6c 61 6c 69 67 6e 5c |."\\end{|flalign\|
|00003300| 2a 7d 22 0a 73 79 6e 20 | 73 79 6e 63 20 6d 61 74 |*}".syn |sync mat|
|00003310| 63 68 20 74 65 78 53 79 | 6e 63 4d 61 74 68 5a 6f |ch texSy|ncMathZo|
|00003320| 6e 65 4a 09 67 72 6f 75 | 70 74 68 65 72 65 20 4e |neJ.grou|pthere N|
|00003330| 4f 4e 45 09 22 5c 5c 65 | 6e 64 7b 66 6c 61 6c 69 |ONE."\\e|nd{flali|
|00003340| 67 6e 7d 22 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |gn}".syn| sync ma|
|00003350| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00003360| 6f 6e 65 4b 09 67 72 6f | 75 70 74 68 65 72 65 20 |oneK.gro|upthere |
|00003370| 4e 4f 4e 45 09 22 5c 5c | 65 6e 64 7b 67 61 74 68 |NONE."\\|end{gath|
|00003380| 65 72 5c 2a 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |er\*}".s|yn sync |
|00003390| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|000033a0| 68 5a 6f 6e 65 4c 09 67 | 72 6f 75 70 74 68 65 72 |hZoneL.g|roupther|
|000033b0| 65 20 4e 4f 4e 45 09 22 | 5c 5c 65 6e 64 7b 67 61 |e NONE."|\\end{ga|
|000033c0| 74 68 65 72 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |ther}".s|yn sync |
|000033d0| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|000033e0| 68 5a 6f 6e 65 4d 09 67 | 72 6f 75 70 74 68 65 72 |hZoneM.g|roupther|
|000033f0| 65 20 4e 4f 4e 45 09 22 | 5c 5c 65 6e 64 7b 6d 61 |e NONE."|\\end{ma|
|00003400| 74 68 5c 2a 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |th\*}".s|yn sync |
|00003410| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00003420| 68 5a 6f 6e 65 4e 09 67 | 72 6f 75 70 74 68 65 72 |hZoneN.g|roupther|
|00003430| 65 20 4e 4f 4e 45 09 22 | 5c 5c 65 6e 64 7b 6d 61 |e NONE."|\\end{ma|
|00003440| 74 68 7d 22 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |th}".syn| sync ma|
|00003450| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00003460| 6f 6e 65 4f 09 67 72 6f | 75 70 74 68 65 72 65 20 |oneO.gro|upthere |
|00003470| 4e 4f 4e 45 09 22 5c 5c | 65 6e 64 7b 6d 75 6c 74 |NONE."\\|end{mult|
|00003480| 6c 69 6e 65 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |line}".s|yn sync |
|00003490| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|000034a0| 68 5a 6f 6e 65 50 09 67 | 72 6f 75 70 74 68 65 72 |hZoneP.g|roupther|
|000034b0| 65 20 4e 4f 4e 45 09 22 | 5c 5c 65 6e 64 7b 73 70 |e NONE."|\\end{sp|
|000034c0| 6c 69 74 7d 22 0a 73 79 | 6e 20 73 79 6e 63 20 6d |lit}".sy|n sync m|
|000034d0| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|000034e0| 5a 6f 6e 65 51 09 67 72 | 6f 75 70 74 68 65 72 65 |ZoneQ.gr|oupthere|
|000034f0| 20 4e 4f 4e 45 09 22 5c | 5c 65 6e 64 7b 64 69 73 | NONE."\|\end{dis|
|00003500| 70 6c 61 79 6d 61 74 68 | 5c 2a 7d 22 0a 73 79 6e |playmath|\*}".syn|
|00003510| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|00003520| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 52 09 67 72 6f |yncMathZ|oneR.gro|
|00003530| 75 70 74 68 65 72 65 20 | 4e 4f 4e 45 09 22 5c 5c |upthere |NONE."\\|
|00003540| 65 6e 64 7b 64 69 73 70 | 6c 61 79 6d 61 74 68 7d |end{disp|laymath}|
|00003550| 22 0a 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |".syn sy|nc match|
|00003560| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00003570| 53 09 67 72 6f 75 70 74 | 68 65 72 65 20 4e 4f 4e |S.groupt|here NON|
|00003580| 45 09 22 5c 5c 65 6e 64 | 7b 6d 75 6c 74 6c 69 6e |E."\\end|{multlin|
|00003590| 65 5c 2a 7d 22 0a 73 79 | 6e 20 73 79 6e 63 20 6d |e\*}".sy|n sync m|
|000035a0| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|000035b0| 5a 6f 6e 65 54 09 67 72 | 6f 75 70 74 68 65 72 65 |ZoneT.gr|oupthere|
|000035c0| 20 4e 4f 4e 45 09 22 5c | 5c 29 22 0a 73 79 6e 20 | NONE."\|\)".syn |
|000035d0| 73 79 6e 63 20 6d 61 74 | 63 68 20 74 65 78 53 79 |sync mat|ch texSy|
|000035e0| 6e 63 4d 61 74 68 5a 6f | 6e 65 55 09 67 72 6f 75 |ncMathZo|neU.grou|
|000035f0| 70 74 68 65 72 65 20 4e | 4f 4e 45 09 22 5c 5c 5c |pthere N|ONE."\\\|
|00003600| 5d 22 0a 73 79 6e 20 73 | 79 6e 63 20 6d 61 74 63 |]".syn s|ync matc|
|00003610| 68 20 74 65 78 53 79 6e | 63 53 74 6f 70 09 67 72 |h texSyn|cStop.gr|
|00003620| 6f 75 70 74 68 65 72 65 | 20 4e 4f 4e 45 09 22 25 |oupthere| NONE."%|
|00003630| 73 74 6f 70 7a 6f 6e 65 | 22 0a 0a 22 20 54 68 65 |stopzone|".." The|
|00003640| 20 24 2e 2e 24 20 61 6e | 64 20 24 24 2e 2e 24 24 | $..$ an|d $$..$$|
|00003650| 20 6d 61 6b 65 20 66 6f | 72 20 69 6d 70 6f 73 73 | make fo|r imposs|
|00003660| 69 62 6c 65 20 73 79 6e | 63 20 70 61 74 74 65 72 |ible syn|c patter|
|00003670| 6e 73 2e 0a 22 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |ns.." Th|e follow|
|00003680| 69 6e 67 20 67 72 6f 75 | 70 74 68 65 72 65 73 20 |ing grou|ptheres |
|00003690| 63 6f 75 70 6c 65 64 20 | 77 69 74 68 20 6d 69 6e |coupled |with min|
|000036a0| 6c 69 6e 65 73 20 61 62 | 6f 76 65 0a 22 20 68 65 |lines ab|ove." he|
|000036b0| 6c 70 20 69 6d 70 72 6f | 76 65 20 74 68 65 20 6f |lp impro|ve the o|
|000036c0| 64 64 73 20 6f 66 20 67 | 6f 6f 64 20 73 79 6e 63 |dds of g|ood sync|
|000036d0| 69 6e 67 2e 0a 73 79 6e | 20 73 79 6e 63 20 6d 61 |ing..syn| sync ma|
|000036e0| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|000036f0| 6f 6e 65 53 09 67 72 6f | 75 70 74 68 65 72 65 20 |oneS.gro|upthere |
|00003700| 4e 4f 4e 45 09 22 5c 5c | 65 6e 64 7b 61 62 73 74 |NONE."\\|end{abst|
|00003710| 72 61 63 74 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |ract}".s|yn sync |
|00003720| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00003730| 68 5a 6f 6e 65 53 09 67 | 72 6f 75 70 74 68 65 72 |hZoneS.g|roupther|
|00003740| 65 20 4e 4f 4e 45 09 22 | 5c 5c 65 6e 64 7b 63 65 |e NONE."|\\end{ce|
|00003750| 6e 74 65 72 7d 22 0a 73 | 79 6e 20 73 79 6e 63 20 |nter}".s|yn sync |
|00003760| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00003770| 68 5a 6f 6e 65 53 09 67 | 72 6f 75 70 74 68 65 72 |hZoneS.g|roupther|
|00003780| 65 20 4e 4f 4e 45 09 22 | 5c 5c 65 6e 64 7b 64 65 |e NONE."|\\end{de|
|00003790| 73 63 72 69 70 74 69 6f | 6e 7d 22 0a 73 79 6e 20 |scriptio|n}".syn |
|000037a0| 73 79 6e 63 20 6d 61 74 | 63 68 20 74 65 78 53 79 |sync mat|ch texSy|
|000037b0| 6e 63 4d 61 74 68 5a 6f | 6e 65 53 09 67 72 6f 75 |ncMathZo|neS.grou|
|000037c0| 70 74 68 65 72 65 20 4e | 4f 4e 45 09 22 5c 5c 65 |pthere N|ONE."\\e|
|000037d0| 6e 64 7b 65 6e 75 6d 65 | 72 61 74 65 7d 22 0a 73 |nd{enume|rate}".s|
|000037e0| 79 6e 20 73 79 6e 63 20 | 6d 61 74 63 68 20 74 65 |yn sync |match te|
|000037f0| 78 53 79 6e 63 4d 61 74 | 68 5a 6f 6e 65 53 09 67 |xSyncMat|hZoneS.g|
|00003800| 72 6f 75 70 74 68 65 72 | 65 20 4e 4f 4e 45 09 22 |roupther|e NONE."|
|00003810| 5c 5c 65 6e 64 7b 69 74 | 65 6d 69 7a 65 7d 22 0a |\\end{it|emize}".|
|00003820| 73 79 6e 20 73 79 6e 63 | 20 6d 61 74 63 68 20 74 |syn sync| match t|
|00003830| 65 78 53 79 6e 63 4d 61 | 74 68 5a 6f 6e 65 53 09 |exSyncMa|thZoneS.|
|00003840| 67 72 6f 75 70 74 68 65 | 72 65 20 4e 4f 4e 45 09 |groupthe|re NONE.|
|00003850| 22 5c 5c 65 6e 64 7b 74 | 61 62 6c 65 7d 22 0a 73 |"\\end{t|able}".s|
|00003860| 79 6e 20 73 79 6e 63 20 | 6d 61 74 63 68 20 74 65 |yn sync |match te|
|00003870| 78 53 79 6e 63 4d 61 74 | 68 5a 6f 6e 65 53 09 67 |xSyncMat|hZoneS.g|
|00003880| 72 6f 75 70 74 68 65 72 | 65 20 4e 4f 4e 45 09 22 |roupther|e NONE."|
|00003890| 5c 5c 65 6e 64 7b 74 61 | 62 75 6c 61 72 7d 22 0a |\\end{ta|bular}".|
|000038a0| 73 79 6e 20 73 79 6e 63 | 20 6d 61 74 63 68 20 74 |syn sync| match t|
|000038b0| 65 78 53 79 6e 63 4d 61 | 74 68 5a 6f 6e 65 53 09 |exSyncMa|thZoneS.|
|000038c0| 67 72 6f 75 70 74 68 65 | 72 65 20 4e 4f 4e 45 09 |groupthe|re NONE.|
|000038d0| 22 5c 5c 5c 28 73 75 62 | 5c 29 2a 73 65 63 74 69 |"\\\(sub|\)*secti|
|000038e0| 6f 6e 22 0a 0a 69 66 20 | 21 65 78 69 73 74 73 28 |on"..if |!exists(|
|000038f0| 22 64 69 64 5f 74 65 78 | 5f 73 79 6e 74 61 78 5f |"did_tex|_syntax_|
|00003900| 69 6e 69 74 73 22 29 0a | 20 6c 65 74 20 64 69 64 |inits").| let did|
|00003910| 5f 74 65 78 5f 73 79 6e | 74 61 78 5f 69 6e 69 74 |_tex_syn|tax_init|
|00003920| 73 20 3d 20 31 0a 0a 20 | 22 20 54 65 58 20 68 69 |s = 1.. |" TeX hi|
|00003930| 67 68 6c 69 67 68 74 69 | 6e 67 20 67 72 6f 75 70 |ghlighti|ng group|
|00003940| 73 20 77 68 69 63 68 20 | 73 68 6f 75 6c 64 20 73 |s which |should s|
|00003950| 68 61 72 65 20 73 69 6d | 69 6c 61 72 20 68 69 67 |hare sim|ilar hig|
|00003960| 68 6c 69 67 68 74 69 6e | 67 0a 20 68 69 20 6c 69 |hlightin|g. hi li|
|00003970| 6e 6b 20 74 65 78 42 61 | 64 4d 61 74 68 09 74 65 |nk texBa|dMath.te|
|00003980| 78 45 72 72 6f 72 0a 20 | 68 69 20 6c 69 6e 6b 20 |xError. |hi link |
|00003990| 74 65 78 44 65 66 43 6d | 64 09 74 65 78 44 65 66 |texDefCm|d.texDef|
|000039a0| 0a 20 68 69 20 6c 69 6e | 6b 20 74 65 78 44 65 66 |. hi lin|k texDef|
|000039b0| 4e 61 6d 65 09 74 65 78 | 44 65 66 0a 20 68 69 20 |Name.tex|Def. hi |
|000039c0| 6c 69 6e 6b 20 74 65 78 | 44 6f 63 75 6d 65 6e 74 |link tex|Document|
|000039d0| 54 79 70 65 09 74 65 78 | 43 6d 64 4e 61 6d 65 0a |Type.tex|CmdName.|
|000039e0| 20 68 69 20 6c 69 6e 6b | 20 74 65 78 44 6f 63 75 | hi link| texDocu|
|000039f0| 6d 65 6e 74 54 79 70 65 | 41 72 67 73 09 74 65 78 |mentType|Args.tex|
|00003a00| 43 6d 64 41 72 67 73 0a | 20 68 69 20 6c 69 6e 6b |CmdArgs.| hi link|
|00003a10| 20 74 65 78 49 6e 70 75 | 74 09 54 6f 64 6f 0a 20 | texInpu|t.Todo. |
|00003a20| 68 69 20 6c 69 6e 6b 20 | 74 65 78 4c 69 67 61 74 |hi link |texLigat|
|00003a30| 75 72 65 09 74 65 78 53 | 70 65 63 69 61 6c 43 68 |ure.texS|pecialCh|
|00003a40| 61 72 0a 20 68 69 20 6c | 69 6e 6b 20 74 65 78 4d |ar. hi l|ink texM|
|00003a50| 61 74 68 44 65 6c 69 6d | 42 61 64 09 74 65 78 45 |athDelim|Bad.texE|
|00003a60| 72 72 6f 72 0a 20 68 69 | 20 6c 69 6e 6b 20 74 65 |rror. hi| link te|
|00003a70| 78 4d 61 74 68 44 65 6c | 69 6d 42 73 09 74 65 78 |xMathDel|imBs.tex|
|00003a80| 4d 61 74 68 44 65 6c 69 | 6d 0a 20 68 69 20 6c 69 |MathDeli|m. hi li|
|00003a90| 6e 6b 20 74 65 78 4d 61 | 74 68 44 65 6c 69 6d 43 |nk texMa|thDelimC|
|00003aa0| 68 72 09 74 65 78 4d 61 | 74 68 44 65 6c 69 6d 0a |hr.texMa|thDelim.|
|00003ab0| 20 68 69 20 6c 69 6e 6b | 20 74 65 78 4d 61 74 68 | hi link| texMath|
|00003ac0| 44 65 6c 69 6d 4b 65 79 | 09 74 65 78 4d 61 74 68 |DelimKey|.texMath|
|00003ad0| 44 65 6c 69 6d 0a 20 68 | 69 20 6c 69 6e 6b 20 74 |Delim. h|i link t|
|00003ae0| 65 78 4d 61 74 68 4d 61 | 74 63 68 65 72 09 74 65 |exMathMa|tcher.te|
|00003af0| 78 4d 61 74 68 0a 20 68 | 69 20 6c 69 6e 6b 20 74 |xMath. h|i link t|
|00003b00| 65 78 4d 61 74 68 50 61 | 72 65 6e 09 74 65 78 4d |exMathPa|ren.texM|
|00003b10| 61 74 68 0a 20 68 69 20 | 6c 69 6e 6b 20 74 65 78 |ath. hi |link tex|
|00003b20| 4d 61 74 68 5a 6f 6e 65 | 41 09 74 65 78 4d 61 74 |MathZone|A.texMat|
|00003b30| 68 0a 20 68 69 20 6c 69 | 6e 6b 20 74 65 78 4d 61 |h. hi li|nk texMa|
|00003b40| 74 68 5a 6f 6e 65 42 09 | 74 65 78 4d 61 74 68 0a |thZoneB.|texMath.|
|00003b50| 20 68 69 20 6c 69 6e 6b | 20 74 65 78 4d 61 74 68 | hi link| texMath|
|00003b60| 5a 6f 6e 65 43 09 74 65 | 78 4d 61 74 68 0a 20 68 |ZoneC.te|xMath. h|
|00003b70| 69 20 6c 69 6e 6b 20 74 | 65 78 4d 61 74 68 5a 6f |i link t|exMathZo|
|00003b80| 6e 65 44 09 74 65 78 4d | 61 74 68 0a 20 68 69 20 |neD.texM|ath. hi |
|00003b90| 6c 69 6e 6b 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |link tex|MathZone|
|00003ba0| 45 09 74 65 78 4d 61 74 | 68 0a 20 68 69 20 6c 69 |E.texMat|h. hi li|
|00003bb0| 6e 6b 20 74 65 78 4d 61 | 74 68 5a 6f 6e 65 46 09 |nk texMa|thZoneF.|
|00003bc0| 74 65 78 4d 61 74 68 0a | 20 68 69 20 6c 69 6e 6b |texMath.| hi link|
|00003bd0| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 47 09 74 65 | texMath|ZoneG.te|
|00003be0| 78 4d 61 74 68 0a 20 68 | 69 20 6c 69 6e 6b 20 74 |xMath. h|i link t|
|00003bf0| 65 78 4d 61 74 68 5a 6f | 6e 65 48 09 74 65 78 4d |exMathZo|neH.texM|
|00003c00| 61 74 68 0a 20 68 69 20 | 6c 69 6e 6b 20 74 65 78 |ath. hi |link tex|
|00003c10| 4d 61 74 68 5a 6f 6e 65 | 49 09 74 65 78 4d 61 74 |MathZone|I.texMat|
|00003c20| 68 0a 20 68 69 20 6c 69 | 6e 6b 20 74 65 78 4d 61 |h. hi li|nk texMa|
|00003c30| 74 68 5a 6f 6e 65 4a 09 | 74 65 78 4d 61 74 68 0a |thZoneJ.|texMath.|
|00003c40| 20 68 69 20 6c 69 6e 6b | 20 74 65 78 4d 61 74 68 | hi link| texMath|
|00003c50| 5a 6f 6e 65 4b 09 74 65 | 78 4d 61 74 68 0a 20 68 |ZoneK.te|xMath. h|
|00003c60| 69 20 6c 69 6e 6b 20 74 | 65 78 4d 61 74 68 5a 6f |i link t|exMathZo|
|00003c70| 6e 65 4c 09 74 65 78 4d | 61 74 68 0a 20 68 69 20 |neL.texM|ath. hi |
|00003c80| 6c 69 6e 6b 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |link tex|MathZone|
|00003c90| 4d 09 74 65 78 4d 61 74 | 68 0a 20 68 69 20 6c 69 |M.texMat|h. hi li|
|00003ca0| 6e 6b 20 74 65 78 4d 61 | 74 68 5a 6f 6e 65 4e 09 |nk texMa|thZoneN.|
|00003cb0| 74 65 78 4d 61 74 68 0a | 20 68 69 20 6c 69 6e 6b |texMath.| hi link|
|00003cc0| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 4f 09 74 65 | texMath|ZoneO.te|
|00003cd0| 78 4d 61 74 68 0a 20 68 | 69 20 6c 69 6e 6b 20 74 |xMath. h|i link t|
|00003ce0| 65 78 4d 61 74 68 5a 6f | 6e 65 50 09 74 65 78 4d |exMathZo|neP.texM|
|00003cf0| 61 74 68 0a 20 68 69 20 | 6c 69 6e 6b 20 74 65 78 |ath. hi |link tex|
|00003d00| 4d 61 74 68 5a 6f 6e 65 | 51 09 74 65 78 4d 61 74 |MathZone|Q.texMat|
|00003d10| 68 0a 20 68 69 20 6c 69 | 6e 6b 20 74 65 78 4d 61 |h. hi li|nk texMa|
|00003d20| 74 68 5a 6f 6e 65 52 09 | 74 65 78 4d 61 74 68 0a |thZoneR.|texMath.|
|00003d30| 20 68 69 20 6c 69 6e 6b | 20 74 65 78 4d 61 74 68 | hi link| texMath|
|00003d40| 5a 6f 6e 65 53 09 74 65 | 78 4d 61 74 68 0a 20 68 |ZoneS.te|xMath. h|
|00003d50| 69 20 6c 69 6e 6b 20 74 | 65 78 4d 61 74 68 5a 6f |i link t|exMathZo|
|00003d60| 6e 65 54 09 74 65 78 4d | 61 74 68 0a 20 68 69 20 |neT.texM|ath. hi |
|00003d70| 6c 69 6e 6b 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |link tex|MathZone|
|00003d80| 55 09 74 65 78 4d 61 74 | 68 0a 20 68 69 20 6c 69 |U.texMat|h. hi li|
|00003d90| 6e 6b 20 74 65 78 4d 61 | 74 68 5a 6f 6e 65 56 09 |nk texMa|thZoneV.|
|00003da0| 74 65 78 4d 61 74 68 0a | 20 68 69 20 6c 69 6e 6b |texMath.| hi link|
|00003db0| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 57 09 74 65 | texMath|ZoneW.te|
|00003dc0| 78 4d 61 74 68 0a 20 68 | 69 20 6c 69 6e 6b 20 74 |xMath. h|i link t|
|00003dd0| 65 78 4f 6e 6c 79 4d 61 | 74 68 09 74 65 78 45 72 |exOnlyMa|th.texEr|
|00003de0| 72 6f 72 0a 20 68 69 20 | 6c 69 6e 6b 20 74 65 78 |ror. hi |link tex|
|00003df0| 53 65 63 74 69 6f 6e 4d | 61 72 6b 65 72 09 74 65 |SectionM|arker.te|
|00003e00| 78 43 6d 64 4e 61 6d 65 | 0a 20 68 69 20 6c 69 6e |xCmdName|. hi lin|
|00003e10| 6b 20 74 65 78 53 65 63 | 74 69 6f 6e 4e 61 6d 65 |k texSec|tionName|
|00003e20| 09 74 65 78 53 65 63 74 | 69 6f 6e 0a 20 68 69 20 |.texSect|ion. hi |
|00003e30| 6c 69 6e 6b 20 74 65 78 | 54 79 70 65 53 69 7a 65 |link tex|TypeSize|
|00003e40| 09 74 65 78 54 79 70 65 | 0a 20 68 69 20 6c 69 6e |.texType|. hi lin|
|00003e50| 6b 20 74 65 78 54 79 70 | 65 53 74 79 6c 65 09 74 |k texTyp|eStyle.t|
|00003e60| 65 78 54 79 70 65 0a 0a | 20 22 20 42 61 73 69 63 |exType..| " Basic|
|00003e70| 20 54 65 58 20 68 69 67 | 68 6c 69 67 68 74 69 6e | TeX hig|hlightin|
|00003e80| 67 20 67 72 6f 75 70 73 | 0a 20 68 69 20 6c 69 6e |g groups|. hi lin|
|00003e90| 6b 20 74 65 78 43 6d 64 | 41 72 67 73 09 4e 75 6d |k texCmd|Args.Num|
|00003ea0| 62 65 72 0a 20 68 69 20 | 6c 69 6e 6b 20 74 65 78 |ber. hi |link tex|
|00003eb0| 43 6d 64 4e 61 6d 65 09 | 53 74 61 74 65 6d 65 6e |CmdName.|Statemen|
|00003ec0| 74 0a 20 68 69 20 6c 69 | 6e 6b 20 74 65 78 43 6f |t. hi li|nk texCo|
|00003ed0| 6d 6d 65 6e 74 09 43 6f | 6d 6d 65 6e 74 0a 20 68 |mment.Co|mment. h|
|00003ee0| 69 20 6c 69 6e 6b 20 74 | 65 78 44 65 66 09 09 53 |i link t|exDef..S|
|00003ef0| 74 61 74 65 6d 65 6e 74 | 0a 20 68 69 20 6c 69 6e |tatement|. hi lin|
|00003f00| 6b 20 74 65 78 44 65 6c | 69 6d 69 74 65 72 09 44 |k texDel|imiter.D|
|00003f10| 65 6c 69 6d 69 74 65 72 | 0a 20 68 69 20 6c 69 6e |elimiter|. hi lin|
|00003f20| 6b 20 74 65 78 45 72 72 | 6f 72 09 45 72 72 6f 72 |k texErr|or.Error|
|00003f30| 0a 20 68 69 20 6c 69 6e | 6b 20 74 65 78 4c 65 6e |. hi lin|k texLen|
|00003f40| 67 74 68 09 4e 75 6d 62 | 65 72 0a 20 68 69 20 6c |gth.Numb|er. hi l|
|00003f50| 69 6e 6b 20 74 65 78 4d | 61 74 68 09 53 70 65 63 |ink texM|ath.Spec|
|00003f60| 69 61 6c 0a 20 68 69 20 | 6c 69 6e 6b 20 74 65 78 |ial. hi |link tex|
|00003f70| 4d 61 74 68 44 65 6c 69 | 6d 09 53 74 61 74 65 6d |MathDeli|m.Statem|
|00003f80| 65 6e 74 0a 20 68 69 20 | 6c 69 6e 6b 20 74 65 78 |ent. hi |link tex|
|00003f90| 4d 61 74 68 4f 70 65 72 | 09 4f 70 65 72 61 74 6f |MathOper|.Operato|
|00003fa0| 72 0a 20 68 69 20 6c 69 | 6e 6b 20 74 65 78 4e 65 |r. hi li|nk texNe|
|00003fb0| 77 43 6d 64 09 53 74 61 | 74 65 6d 65 6e 74 0a 20 |wCmd.Sta|tement. |
|00003fc0| 68 69 20 6c 69 6e 6b 20 | 74 65 78 52 65 66 5a 6f |hi link |texRefZo|
|00003fd0| 6e 65 09 53 70 65 63 69 | 61 6c 0a 20 68 69 20 6c |ne.Speci|al. hi l|
|00003fe0| 69 6e 6b 20 74 65 78 53 | 65 63 74 69 6f 6e 09 50 |ink texS|ection.P|
|00003ff0| 72 65 43 6f 6e 64 69 74 | 0a 20 68 69 20 6c 69 6e |reCondit|. hi lin|
|00004000| 6b 20 74 65 78 53 70 65 | 63 69 61 6c 43 68 61 72 |k texSpe|cialChar|
|00004010| 09 53 70 65 63 69 61 6c | 43 68 61 72 0a 20 68 69 |.Special|Char. hi|
|00004020| 20 6c 69 6e 6b 20 74 65 | 78 53 74 61 74 65 6d 65 | link te|xStateme|
|00004030| 6e 74 09 53 74 61 74 65 | 6d 65 6e 74 0a 20 68 69 |nt.State|ment. hi|
|00004040| 20 6c 69 6e 6b 20 74 65 | 78 53 74 72 69 6e 67 09 | link te|xString.|
|00004050| 53 74 72 69 6e 67 0a 20 | 68 69 20 6c 69 6e 6b 20 |String. |hi link |
|00004060| 74 65 78 54 79 70 65 09 | 54 79 70 65 0a 20 68 69 |texType.|Type. hi|
|00004070| 20 6c 69 6e 6b 20 74 65 | 78 5a 6f 6e 65 09 50 72 | link te|xZone.Pr|
|00004080| 65 43 6f 6e 64 69 74 0a | 65 6e 64 69 66 0a 0a 6c |eCondit.|endif..l|
|00004090| 65 74 20 62 3a 63 75 72 | 72 65 6e 74 5f 73 79 6e |et b:cur|rent_syn|
|000040a0| 74 61 78 20 3d 20 22 74 | 65 78 22 0a 0a 22 20 76 |tax = "t|ex".." v|
|000040b0| 69 6d 3a 20 74 73 3d 31 | 36 0a |im: ts=1|6. |
+--------+-------------------------+-------------------------+--------+--------+